modified menu and rc.lua