Clean up reprocess scripts and add option for flattening reads of (imaging, not grism) exposures