updates to bash scripts