added debug to load_registries target