create different job_script in a loop