Adding tX to ScriptPlugin