slideshow refresh issue, added scpipt