Bash script fix.

Fixed bash scripts.