Edit submission script to set form values properly.