finally got env var to work.