AMENDMENT NO. 3 TO AMENDED AND RESTATED LOAN AGREEMENT