Add code to assign a job id