updated the addcatalog to also support only reusing an existing catalog