in reply to When my script doesn't work, I ...

Other: Add more logging

then

Try to debug it.

-- Time flies when you don't know what you're doing