Fixed shell syntax errors