modify submit script