changed inline call to sh to bash