replace true/false with explanatory constants, i.e.:
EnvirmonmentFactory.EnvironmentType.STORAGE_AWARE = true
EnvirmonmentFactory.EnvironmentType.STORAGE_UNAWARE = false