Reduce bash dependency from 4.0 to 3.2