modified the wait section so that it pulls both the ipv4 and ipv6, looks like [0] in the list is the v6. figured for future-proofing better to just iterate over all public IP's instead of changing it to [1]