rename/lua funcs and vars