Fixing the job script