Added preview mode.