More customer stuff, aggregated all search queries into one function