Added perms fixer to help automate future writing.