Restart the script after checking for updates