(Likely broken) Make $env public