Fixed the config dir and default policy scope