adding support for script tag