updated bash scripts