Updated bash scripts