IP as a command line argument, final tweaks.