Update permissions.sh