Add application#goodbye and switch root