add local ip address detection to installer.