Adding Code to the SlideShow