Modified setJobList() and setJob() functions