modification to run only the jobs that hasn't completed