Add postprocessing and sort_by_hjd steps
Corrects indentation