Getting rid of lua_getglobal from notify api