fixing problems with createJob.py