Made changes to the search and runstats