functionality to set search engine in plugin