making resubmitCRABJobs.py better