changes to bash script