Slideshow.changeSlide() executes in Preview but not in Live

I left that in while testing all the numbers but even with a hard coded 2 or with the Today.getDay() it just doesnt show the right slide