Run document.