Fixed the _G environment issue

Messed up in the first one and had already deleted my fork. This should work