Improved the search for IP addresses of instances