Added the search function on the local machine