Added env variable to detect heroku env