add repair_permissions.sh