Change the permissions of upgrade.sh and install.sh after an upgrade is performed.