add download callbacks for module loads