Added code so that it will only display one set of images.