Version 1.1: select_and_search_active = 2 or 3 added.