Environmental variables and Database connection