Added the -r,--reset switch to the console front end