pull DB connection info from env vars instead of function params