working script for rebooting dead/sick rigs