Included first IF statements, checking if argument is a hash and checking if job has a dependency