Added a line to set_perms