added several useful bash scripts
bash scripts fixes