added script to resubmit unfinished jobs in a folder