consolidated and improved csv processing scripts. Each now take input and output files as arguments.