Creates and configures a RunScript instance.
Creates and configures a RunScript instance with Kotlin DSL syntax.