choose console or gui