install uir_handler and modified the search.rb