fixing so that environment specific settings override general/globals