moving some stuff around and returning submit script to a functional
form again