use environment variables for db