Added multiple job handling and fixed typo