Adding script to determine the external IP address