Don't use bash 4 substitions for upper/lowercase conversions
Created by: tboegi
Some bash-istic parameter expansion is used to convert upper-lower case or vice versa. This does not work under bash 3.0, which is default on MacOs boxes. Use tr instead.