adding script to organize output files into csv format