Traditional petroleum refinery output is mismatched to the demand. A sluggish recession-bound industrial climate, improvements in energy efficiency, and a search for cleaner fuels have all cut demand for the heavy and sometimes dirty industrial fuel oil that refineries have had left over after skimming the more valuable light and middle transportation-fuel fractions. Methods of refining the heavier fractions or ''the bottom of the barrel''are discussed. Flexibility and sophistication will be the key words for the heavy oil future.