reduced the search term read from config function