Added resetting terminal