Move AF ui.launch() according to Ian