Made it wait for input before quitting