added options to limit outfiles generated for each job