fixed typo in run script generation for jobs