as requested/suggested, added ability to rebuild index for multiple models as well as a more robust way for selecting search engine