added a bye message when quitting interactive mode