[~]: move "$PREVIEW" to global scope