This line and the one above it are incorrect. These should be tr.Tesserwrap_SetVariable