You need to add a preferences panel and load the IPs that you get from the getLocalIp function into a drop down and let them select which IP they want. Compare the IP Address each time the script loads to make sure it is one that is available, if it isn't then you need to display the config again.
Something along those lines
You need to change the IP to the IP address of the network card. Not 0.0.0.0.
P.S. it did work however what might be a good idea is if you copy and not move the file then you can mark the one for deletion on Windows shutting down this will allow the in convo link to still work.
http://msdn2.microsoft.com/en-us/library/aa365240.aspx
This will allow you to move the file after the computer reboots. Which might be a good idea