Quote Originally Posted by gilgalbiblewhee View Post
I'm wondering if all the if statements in my script necessary
no, most of them aren't. however, if the if statements in your code are not the problem (which they aren't), then I believe they're serving their purpose. it's up to you to find a more logical, efficient way to handle your data afterward (of course, we're here to provide help with that in the future, too).