upload main.lua