Thanks! I found a script that I could modify with some of your code and it works exactly as I want it!