Quote Originally Posted by shackle
I added the code the those files at the bottom
That is what I am saying; you have accidentally added it inside of a loop in the file. just move it out of the loop.