added flavors support, added GUI if no console is available