changes code to use the production server