works had already been done for most of the scripts in right frame so they check parent functions available before calling script from parent but some one obviously didn't take care of this when inserting new scripts.
here's the patch
Merged in subversion, thanks.
Merged in subversion, thanks.