Switched to php and finished basic form proc