Added viewdata command.