a couple fixes for default env settings, based on Heroku testing