Config according to GUI or Terminal