OK. I didn't understand what you had done: it's not that your english is bad, it's just not descriptive enough.
I'm not sure why the connection to SD! would have gone 'bad' mid-scripting if there was no manual intervention and no crash of SD! itself.