Biomass catalysis in conventional refineries