execute script inside child window