watchdog setup script