Script for condor jobs