changed logic of resubmittng, now using settings and code of original job file, not a newly created one