Add missing string.upper to luacontroller