added flag,seq,st to EnvironmentData, untested

removed/commented out debug prints