Updated permissions.sh file