* Makes more sense if mode,@mode variables were env,@env (idea from issue #4)