I was putting markers in to test the scripts and see what was running and what wasn't. While I was doing this everything started to work, so I took out the markers and now the script is running like it should. I'm sure I had something there that wasn't suppose to be. But thanks for helping me out, it's working fine now!