Fixed the path lookup for the config and setting YAML