Updated to support angelscript lib changes