Hazardous elements flow during pyrolysis of oily sludge.