Added reset and flash commands