How to make to run slideshow with *#code#?