Custom tree-generation procedure, and temporary call in the fetch-preview page.