Changed the search string to be unique

Also, added part to print the host name in the last edited