modified menu.lua