adding script that starts slideshow