allow specifying directory in catalog