Update TPTScriptInterface.cpp