FOURTH AMENDED AND RESTATED LOAN NOTE