Create watchdog.r