New command line mostlyworking
Much improve command line processing