Stopped reloading main.lua when not needed