Fixed runStep and other syntax errors