Added custom search engine functionality