Added get_ipaddr script.