Change of ls to objects when referencing SGPstateData environment