Corrected Bash syntax errors