Refactored myip.sh to remove one variable