Readded missing code to clear the screen.