fixed file permissions with fix-permissions.sh