switched shell scripts to bash