Added --reset flag