resubmission scripts for pybatch