Added csv, perms changes