Rewrote creation of CSVs divided by delivery setting to be less stupid