Allow for command line usage (without GUI)