Adding perms checks