Make settings more Heroku-friendly by using env vars if present