Now it goes to the next image on click just like I wanted!!
Turns out it was calling the exact same script twice and the one being adjusted should be the only one being called. Otherwise any changes would simply be reverted back to the unedited script. It took a while for me to realize they where the same script because one was neatly formatted and the other was all jumbled together.
The script change you gave me helped, too! Thanks a lot!
I have tested it and it works fine. Since I have it already set for continuous loop it just goes to the first image automatically once you click on the last image. All is well! Thanks again!