add watchdog & pathtools