I've created a mod in my mods/unpacked folder that is essentially a copy of the outgauge.lua script with some extensions to the struct that gets sent as a UDP packet. That works all fine and dandy, but in order for it to start running, I have to manually start it in the 'Current Vehicle' console, and have to do this every time I change vehicles. I attempted to utilize a Lua file in the scripts folder of the mod and using onInit(), but it does not load my extension. I'm sure I'm just loading it wrong, but here's the code (Line 5 is what I normally run in the console to load it and afterwards it's self-sufficient, but I suspect this does not work since I assume scripts run in the global environment console). Here is my mod's folder structure: