DIG-2: Added command line flag for dumping and resetting.