now searchs are saved to file. better for scripting.