Chage output of search_main for debug.