Running Script before job begins