Fix bug in job submission script.