Added Reset command to reset variables and command state