Forgot to make the quit variable global