Currently you require a user to enter a password into a conf file.
Instead of performing searches when fetching data for deduping you should have a search that runs which pipes that info to a csv-file instead and read that file when the script is run.