Set env var in main