Can you post an example of how the script is failing, including code, how it is ran, and any other relevant info? Need more to go on.