Exhibit 10.1 AMENDED, RESTATED AND CONSOLIDATED TERM NOTE