Move each of the examples into its own script.