Permissions

Rewrote the permissions file.