Fixed bug with adding commands to job.