AMENDED AND RESTATED TRANCHE A TERM LOAN NOTE