sh
The script works just fine with `sh`. Also replace nonstandard `test` operator `==` with the standard `=`. The other changes are mostly cosmetic.