use main for starting the subcommand