I appreciate the response! But unless I'm misunderstanding what you're saying, I don't think that's the problem. Like I said in that note at the top of the code, there is a complete url in the actual script (I couldn't put it in because this is my first post and the site restricts me) and the parts of the script that rely on it (step 1 and to a lesser degree step 2) function perfectly. The part of the script that I think is the problem area is step 3, I'm just not sure why. That said, I'm pulling it up on my linux machine right now and trying it, so I'll be sure to keep you posted!
UPDATE: Yeah I think I was right, there was definitely some miscommunication somewhere down the line 'cause that didn't work either, haha!
UPDATE: Yeah I think I was right, there was definitely some miscommunication somewhere down the line 'cause that didn't work either, haha!