Friedrich,

That script works correctly. (Not surprised, I have used that in other
scripts)

Phil