added reset and scan commands for d1000