scripts updated for checking and resubmission