Replace LightEnv to EnvNum