also, as you removed the self.type in the options, you should use j.setJobGroup(str(opts.group))