SIXTH AMENDMENT TO LOAN, GUARANTEE AND SECURITY AGREEMENT