enabling heroku configuration via if statement