fixed jobscript