Uncomment check for permissions.