SIXTH AMENDMENT TO LOAN AGREEMENT