updated environ to os.environ in base settings file