watch dog script for encboard