Added a preview command.