Improved qsub script generation to tidy up the output and error files
of the qsub