Seventh Amendment to the Credit Agreement and First Amendment to the Pledge and Security Agreements