Fix: using a correct snippet name.
2.2: Code generation made uniform (for both stdio and command line).