updated script to bash