fix scriptPreprocessor in example - fixes #1