adding the search script