ups10: Reimplement ScriptLayout to properly handle mixed runs.