Updates to the python scripts to correspond with the latest ruby script changes.
Added error message and recovery (using localhost) if the IP addresses file has issues.