Changed method of pulling in request parameters and files.