write submission script for condor