create auto submit script