The c-script version seems to be 2x slower than the C++ version and drops the framerate instead of improving it. I recomend using the C++ version.
If anyone still really wants the c-script version I will post it anyways.