Build env file