AMENDMENT NO. 24 TO CREDIT AND SECURITY AGREEMENT