Changed parameters to POST variables