Changing the text before the program ends