fix "illegal option -s" error by switching from sh to bash