Removed all calls to setfenv

Commented out calls to setfenv so it would run in lua 5.2