Add support for supplying number of jobs