Adding a query file for waste metrics (does not yet work)