Changed connection variables to environment variables.