added db settings to environment