Minor tweaks
Made job variable more global, in case I want to use it