scripts/myrial: implement Catalog properly