Add asynchronous retrieval of IP address through script