Made changes to database connections so that they're controlled by environment variables from web server configuration.