update script to 3.2
remove unused function from search module