check_for_upgrade.sh not executable with /bin/sh

check_for_upgrade.sh is not executable with /bin/sh while using bash syntax, so the execution shell should be set to /bin/bash.