fix bug 924674 - moving script block inside of body
Merge pull request #167 from gvn/scriptblock

fix bug 924674 - moving script block inside of body