fix how we pass in environment variables