hmm,

you might want to use a return instead of exit 1 in your subscript to make it work.

hth
_________________________