Original script for running data-reduction jobs.