Remove syntax errors from some scripts