Now each function does one thing, one time. Also, script can be called from the command line for a single search or supplied with a list text file.