Updated sharing to add gid too