EIGHTEENTH AMENDMENT TO CREDIT AGREEMENT