reworked the command line startup