Use environment variables for configuration for better compatibility with Heroku