Renamed 'eswpearch_func' to 'eswpsearch_func'