#if wget http://ipecho.net/plain -O - -q | grep -A 2 --quiet -oh "107.221." # Add more to the public to make it more accurate however this should be fine.
if curl ipinfo.io/ip | grep -A 2 --quiet -oh "107.221."# Switched ip websites, this one should work the same just curl is cleaner.