Improved cluster submission script