metadata serach partially working again
executes without errors. output not yet verified