Script to submit jobs for condor