Changed app to get port number from env.