Deadline Scripting - Scope Issue - local UI elements