NINTH AMENDMENT TO CREDIT AGREEMENT