Update Main.lua

Some corrections