do not depend on tkinter for cmd line usage (only GUI require it)