Fixed a bunch of permissions