split auto_search_overqualifying into three (auto_hbssm, auto_hbssm, and auto_nwl) and moved the code for handling them into a separate function. auto_nwl is by default false