adding submit script