added ability to give the user a choice if they want a prompt before
exiting.