modify M-r to run reset command