export uid and gid to lua