Fixed syntax errors in the executor