Fixing bug in build class. Adding new utility methodto job class