Companion script for example sketch.