Use :elixir_env.ex_to_scope/1 insted of :elixir_scope.to_erl_env/1