xautomation and perms