Changed variables to post