Updated get_ip.sh to work across more OS's a little easier.