Carousel scripting work