Fix makesubmission script