Added realization env munging