Added 'select' subcommand