Move env vars to top