Changes associated with changing SGPstateData to an environment