Added some GLM Script, refactored scripting system to compile