Made job priority optional and removed hardcoded default. Made job dependencies submitted as an array to give formatting flexibility.