We actually have to check for q before quitting