Thanks Darren, I've created a feature suggestion for getting the IP address fixed for each cloud environment. I don't think Automate really understand the impact of having a changing IP address on their product working. We have many customers with a single host and so when that gets rebooted internal DNS stops and so does automate. We found this out the hard way by scheduled reboots not completing. So have downloaded your script and have it running, appreciate you taking the time to share this..