Fixed submission script