SIXTH AMENDMENT TO CREDIT AGREEMENT AND CONSENT TO ASSET SALE