Would it help to see the script that runs? It is fairly large.