cleaned up preview command