SIXTH AMENDMENT TO credit agreement