I added some functionality to call existing lua functions. When simply compiling a Lua chunk Arguments are ignored, so now set the FunctionCall flag on the Lua51SCript and call functions with Arguments attached to it.