deploy fixes: rearrange env conditional order and move app.set port and server.listen back into server.js file instead of trying to initialize from /bin/www