fix server run.sh syntax errors