Change to set parameters via argument of search_main.