Script runner with dependency management