How do I automatically reboot a machine after deploying a patch