Replaced Env variable by the standard process.env

app.get('env') was not working. It's all good now!