Generate compiled scripts

Add flag that tells the engine to compile all scipts at runtime