Added support for dynamic script execution.