Implemented global options and command.