cleanup submission script