output-mode => output, importing the syntax module, and some other tweaks.