Merged the submit post and parse post into one file. You can pass action=preview and action=submit into post to determin which action is performed.