added queryCatalog custom script