add support for uid and gid