stecal,
I'm not sure how to execute your script. Do just need to change the SIDs and the paths and run the script. Can you be a little more specific on how I ge the script to run.