added additional config parameters so the app plays nicely with Heroku