Third Amended and Restated Loan Agreement