removed get_env_setting and used python os.environ