the search script