SECOND AMENDMENT LOAN AGREEMENT