change SETTINGS_YAML_FILE to a method