Updated some of the examples so that they run