some bash syntax changes