Added show preview option