Set environment variables before running build script.