Rewrote form checking and changed submimssion form contents.