improved command line interface