creating template from submitted jobs