Fix submit script