added script to cleanup job output and get it ready for gnuplot