I know this was for another person's question and your answer was great. I tried it out with what I was trying to do and it worked great with the only 2 things/concerns, one being that the photos that were distributed into the folders were not random (mixed up) it put the exact amount into all the folders but it just grabbed them in order. The only other thing was it created it's own first older called "0" and used that as the first folder to distribute to and then it ignored the last folder so no photos were put into that one. I could go through and rename the folders and delete the empty one but if there is a fix that could be added? If those 2 things could be fixed, this would be perfect. Let me know if I missed changing a variable somewhere, the attached picture is what I did... thank you enter image description here script used image