changed settings for db to look and see if environment variable is present and to use it if it is