improved command-line interface for running