Make it talk. Fix some bashisms.