Added support for script element execution.