Update main.lua

Security Fix