YAML configuration loader and toggle