LPS-40053 Optimize ScriptData to use List to do internal state management
LPS-40053 SF