moved submit script