Changed the histoy plugin for better support, changed the search function