Document:

Amendment No. 7 to the Receivables Purchase Agreement

 Exhibit 10.1 
 AMENDMENT NO. 7 
 TO 
 RECEIVABLES PURCHASE AGREEMENT 
 THIS AMENDMENT NO. 7 TO RECEIVABLES PURCHASE AGREEMENT dated as of
March 14, 2008 (this “Amendment”) is entered into among AVISTA RECEIVABLES CORP. (the “Seller”), AVISTA CORPORATION (the “Servicer”), RANGER FUNDING COMPANY LLC (formerly known as Receivables
Capital Company LLC) (the “Conduit Purchaser”) and BANK OF AMERICA, N.A., as “Committed Purchaser” (in such capacity, the “Committed Purchaser”) and as “Administrator” (in such capacity, the
“Administrator”) under the Receivables Purchase Agreement defined below. Capitalized terms used herein but not defined herein shall have the meanings provided in such Receivables Purchase Agreement. 
 WITNESSETH 
 WHEREAS, the Seller, the
Servicer, the Conduit Purchaser, the Committed Purchaser and the Administrator are parties to that certain Receivables Purchase Agreement dated as of May 29, 2002 (as amended, restated, supplemented or otherwise modified from time to time, the
“Receivables Purchase Agreement”); 
 WHEREAS, the Seller, the Servicer, the Conduit Purchaser, the Committed Purchaser and
the Administrator have agreed to amend the Receivables Purchase Agreement on the terms and conditions hereafter set forth; 
 NOW, THEREFORE,
in consideration of the premises set forth above, and for other good and valuable consideration, the receipt and sufficiency of which are hereby acknowledged, the Seller, the Servicer, the Conduit Purchaser, the Committed Purchaser and the
Administrator hereby agree as follows: 
 SECTION 1. Amendment. Subject to the fulfillment of the condition precedent set forth in
Section 2 below, the Receivables Purchase Agreement is hereby amended as follows: 
 1.1
Section 3.01(a) of the Receivables Purchase Agreement is amended to delete the last sentence thereof in its entirety. 
 1.2 Section 4.01 of the Receivables Purchase Agreement is amended and restated in its entirety as follows: 
 SECTION 4.01. Fees. Seller shall pay to the Administrator and the Purchasers the fees in the amounts and at the times set forth herein and in the fee letter, dated as of March 14, 2008, among the Administrator, Parent and Seller
(as amended, restated, supplemented or otherwise modified from time to time, the “Fee Letter”). 

 1.3 Each of (x) Section 6.01(l), (y) 6.02(i) and
(z) 10.01(a)(i) of the Receivables Purchase Agreement is amended to delete each reference therein to “or Mid-Month Report” in its entirety. 
 1.4 Each of Section 10.01(b), 13.01(a)(ii) and 13.01(b)(i) of the Receivables Purchase Agreement is amended to
delete each reference therein to “, any Mid-Month Report” in its entirety. 
 1.5 The definition of
“Concentration Limit” set forth in Appendix A to the Receivables Purchase Agreement is amended and restated in its entirety as follows: 
 “Concentration Limit” at any time for (1) any Obligor that is a Governmental Authority, means an amount equal to (i) the aggregate Unpaid Balance of all Eligible Receivables at such time
times (ii) 1% (or in the case of Bonneville Power Authority, 2% so long as the Administrator has confirmed in writing that it has received satisfactory evidence of the assignability of such Receivables) and (2) any other Obligor
means an amount equal to (i) the aggregate Unpaid Balance of all Eligible Receivables at such time times (ii) the applicable percentage as set forth below opposite the appropriate ratings of such Obligor’s long-term and
short-term unsecured debt. Any Obligor that has a split rating shall be deemed to be in the lower rating category. 
  

										
	 Long Term Rating
	  	 Short-Term Rating
	  	Applicable Percentage	 
	 S&P
	  	 Moody’s
	  	 S&P
	  	 Moody’s
	  	 	 
	A+ or better	  	A1 or better	  	A-1	  	P-1	  	8.0	%
	BBB+ to A	  	Baa1 to A2	  	A-2	  	P-2	  	6.0	%
	BBB- to BBB	  	Baa3 to Baa2	  	A-3	  	P-3	  	3.0	%
	Lower than
BBB-/Baa3
or Not Rated	  		  	Lower than
BBB-/Baa3
or Not Rated	  		  	1.5	%

 1.6 The definition of “Minimum Reserve Floor” set forth in Appendix
A to the Receivables Purchase Agreement is amended and restated in its entirety as follows: 
 “Minimum Reserve
Floor” means, on any day, an amount equal to the sum of (i) the Yield Reserve, as most recently calculated, plus (ii) the product of (A) the sum of (1) 8.0%, plus (2) the product of (x) the Expected Dilution,
times (y) the Dilution Horizon Ratio, in each case as most recently calculated and as defined in the definition of “Dilution Reserve Percentage”, times (B) the Net Pool Balance on such day. 
  

 2 

 1.7 The definition of “SF” contained in the “Dilution Reserve
Percentage” set forth in Appendix A to the Receivables Purchase Agreement is amended and restated in its entirety as follows: 
 SF = the Stress Factor, which shall be 3. 
 1.8 The definition of “SF” contained in
the “Dynamic Loss Reserve Percentage” set forth in Appendix A to the Receivables Purchase Agreement is amended and restated in its entirety as follows: 
 SF = the Stress Factor, which shall be 3. 
 1.9 The definition of “Mid-Month Report” set forth in Appendix A to the Receivables Purchase Agreement is deleted in its entirety. 
 1.10 The definition of “Termination Date” set forth in Appendix A to the Receivables Purchase Agreement is amended to
delete the reference to “March 17, 2008” in clause (c) thereof and substitute “March 13, 2009” therefor. 
 1.11 Exhibit 3.01(a)-M to the Receivables Purchase Agreement is deleted in its entirety. 
 SECTION 2. Condition
Precedent. The effectiveness of this Amendment is subject to the satisfaction of the condition precedent that the Administrator shall have received (which receipt may be by facsimile transmission) counterparts of (x) this Amendment,
executed by the Seller, the Servicer, the Conduit Purchaser, the Committed Purchaser and the Administrator and (y) that certain fee letter dated as of the date hereof, executed by the Seller, the Servicer and the Administrator. 
 SECTION 3. Representations and Warranties. Each of the Seller and the Servicer hereby represents and warrants that (i) this Amendment
constitutes its legal, valid and binding obligation, enforceable against such party in accordance with its terms, (ii) before and after giving effect to this Amendment, the representations and warranties of each such party, respectively, set
forth in Article 6 of the Receivables Purchase Agreement are true and correct in all material respects with the same effect as if made on the date hereof, except to the extent such representations and warranties expressly relate to an earlier
date. The Seller further represents and warrants that before and after giving effect to this Amendment, no event has occurred and is continuing that constitutes a Liquidation Event or an Unmatured Liquidation Event. 
 SECTION 4. Reference to and Effect on the Receivables Purchase Agreement. 
 4.1 Upon the effectiveness of this Amendment, (i) each reference in the Receivables Purchase Agreement to “this Agreement”,
“hereunder”, “hereof”, “herein” or words of like import shall mean and be a reference to the Receivables Purchase Agreement, as amended hereby, and (ii) each reference to the Receivables Purchase Agreement in any
other Transaction Document or any other document, instrument or agreement executed and/or delivered in connection therewith, shall mean and be a reference to the Receivables Purchase Agreement as amended hereby. 
  

 3 

 4.2 Except as specifically amended above, the terms and conditions of the Receivables
Purchase Agreement, of all other Transaction Documents and any other documents, instruments and agreements executed and/or delivered in connection therewith, shall remain in full force and effect and are hereby ratified and confirmed. 
 4.3 The execution, delivery and effectiveness of this Amendment shall not operate as a waiver of any right, power or remedy of the
Administrator, the Conduit Purchaser or the Committed Purchaser under the Receivables Purchase Agreement or any other Transaction Document or any other document, instrument or agreement executed in connection therewith, nor constitute a waiver of
any provision contained therein, in each case except as specifically set forth herein. 
 SECTION 5. Execution in Counterparts. This
Amendment may be executed in any number of counterparts and by different parties hereto in separate counterparts, each of which when so executed and delivered shall be deemed to be an original and all of which taken together shall constitute but one
and the same instrument. 
 SECTION 6. GOVERNING LAW. THIS AMENDMENT SHALL BE GOVERNED BY AND CONSTRUED IN ACCORDANCE WITH THE LAWS OF
THE STATE OF NEW YORK. 
 SECTION 7. Section Titles. The section titles contained in this Amendment are and shall be without
substance, meaning or content of any kind whatsoever and are not a part of the agreement between the parties hereto. 
 [THE
REMAINDER OF PAGE INTENTIONALLY LEFT BLANK] 
  

 4 

 IN WITNESS WHEREOF, the parties hereto have caused this Amendment to be executed by their respective
officers thereunto duly authorized as of the date first above written. 
  

					
	 AVISTA RECEIVABLES CORP.,
 as
Seller

		
	By:	 	/s/ Diane C. Thoren
		 	Name:	 	Diane C. Thoren
		 	Title:	 	Vice President
	
	 AVISTA CORPORATION,
 as
Servicer

		
	By:	 	/s/ Ann M. Wilson
		 	Name:	 	Ann M. Wilson
		 	Title:	 	Vice President of Finance and Treasurer

  

 Signature Page to 
 Amendment No. 7 to Receivables Purchase Agreement 

					
	RANGER FUNDING COMPANY LLC (formerly known as Receivables Capital Company LLC),
as Conduit Purchaser
		
	By:	 	/s/ Leif E. Rauer
		 	Name:	 	Leif E. Rauer
		 	Title:	 	Vice President

  

 Signature Page to 
 Amendment No. 7 to Receivables Purchase Agreement 

					
	 BANK OF AMERICA, N.A.,
 as Committed
Purchaser and as Administrator

		
	By:	 	/s/ Doris J. Hearn
		 	Name:	 	Doris J. Hearn
		 	Title:	 	Vice President

  

 Signature Page to 
 Amendment No. 7 to Receivables Purchase AgreementAmendment to Amended and Restated Credit Agreement

 Exhibit 10.2 
 AMENDMENT 
 TO 
 AMENDED AND RESTATED CREDIT AGREEMENT 
 THIS AMENDMENT (the “First Amendment” or this
“Amendment”) dated as of November 15, 2007, is between Flotek Industries, Inc., a Delaware corporation (the “Borrower”), and Wells Fargo Bank, National Association, a national banking association, as lender
(the “Bank”). 
 RECITALS 
 A. The Borrower and the Bank are parties to a Amended and Restated Credit Agreement dated as of August 31, 2007 (as amended, modified or supplemented prior to the date hereof, the “Credit
Agreement”), pursuant to which the Bank agreed to make loans to, and issue letters of credit on behalf of, the Borrower. 
 B. The
Borrower and the Bank desire to amend the Credit Agreement to increase the commitment of the Bank under the Equipment Loan from $36,000,000 to $42,000,000 in order to finance the acquisition (the “Acquisition”) of a fifty percent
(50%) interest in CAVO Drilling Motors, Ltd. Co. (“CAVO”). 
 NOW, THEREFORE, in consideration of the foregoing and the
mutual covenants set forth in this Amendment, the Borrower and the Bank agree as follows: 
 1. Defined Terms. Unless otherwise defined
herein, capitalized terms used herein have the meanings assigned to them in the Credit Agreement. 
 2. Amendment. The following
provisions of the Credit Agreement are hereby amended as follows: 
 (a) The definition of “Equipment Loan Commitment” in
Section 1.01 of the Credit Agreement is hereby amended to read in its entirety as follows: 
 “‘Equipment Loan Commitment’
means the Bank’s Commitment to make Advances in the aggregate amount of $42,000,000.” 
 (b) Section 2.01 (b) of the
Credit Agreement is hereby amended by adding immediately after the words “on the date hereof”, the phrase, “or at such later date as the Bank , in its sole discretion may agree,”. 
 (c) Section 2.01 (c) of the Credit Agreement is hereby amended by deleting the last sentence thereof. 
 (d) Section 3.04(b) of the Credit Agreement is hereby amended to read in its entirety as follows: 
 SECTION 3.04 Principal Payments. 

 (b) The Borrower hereby promises to pay the principal on the Equipment Loan in monthly
installments of $500,000.00 each, payable on the last day of each month, and a final installment of the remaining, unpaid principal balance payable on December 31, 2011. 
 3. Conditions to Effectiveness. This Amendment shall become effective on the date on which the following conditions have been satisfied or waived:

 (a) the representations and warranties of the Borrower set forth in Section 4 hereof shall be true and correct;

 (b) the Bank shall have received: (i) this Amendment duly executed and delivered to the Bank by the Borrower,
(ii) a stock certificate and accompanying stock power evidencing the ownership in SES Holdings, Inc. ( “SES”), and (iii) evidence satisfactory to the Bank that (Y) the Acquisition has been completed or such is contingent
only on the funding of the purchase price therefor, and (Z) all indebtedness of CAVO has been repaid and all liens on its assets released, 
 (c) CAVO shall have executed and delivered to the Bank a Joinder Agreement substantially in the form of Exhibit D to the Credit Agreement; and 
 (d) each Guarantor, including CAVO, SES and Sooner Energy Services, Inc., shall have executed and delivered an acknowledgment and consent
to this Amendment substantially in the form of Exhibit A hereto. 
 4. Representations and Warranties. The Borrower hereby represents
and warrants to the Bank as follows: 
 (a) this Amendment has been duly authorized by all necessary corporate action and
constitutes the binding obligation of the Borrower; 
 (b) each of the representations and warranties made by the Borrower or
its Subsidiaries in or pursuant to the Credit Agreement and the other Loan Documents is true and correct in all material respects as of the date hereof, as if made (after giving effect to this Amendment) on and as of such date, except for any
representations and warranties made as of a specified date, which are true and correct in all material respects as of such specified date; 
 (c) no Default has occurred and is continuing as of the date hereof or will result from the execution and delivery of this Amendment; and 
 (d) the additional funds to be advanced in connection herewith shall all be used to finance the Acquisition. 
 5. Continuing Effect of the Credit Agreement. This amendment shall not constitute a waiver of any provision of the Credit Agreement and shall not
be construed as a consent to any action on the part of the Borrower that would require a waiver or consent of the Bank or an 

  

 2 

 
amendment or modification to any term of the Loan Documents except as expressly stated herein. The Borrower hereby confirms and ratifies the Credit Agreement
and each of the other Loan Documents as amended hereby and acknowledges and agrees that the same shall continue in full force and effect as amended hereby. 
 6. Reference to the Credit Agreement. Upon the effectiveness of this Amendment, each reference in the Credit Agreement to “this Credit Agreement,” “hereunder,” “herein” or words of
like import, and each reference to the Credit Agreement in any of the other Loan Documents, refer to the Credit Agreement, as amended hereby. 
 7. Counterparts. This Amendment may be executed by all parties hereto in any number of separate counterparts each of which may be delivered in original, electronic or facsimile form and all of such counterparts taken together shall
be deemed to constitute one and the same instrument. 
 8. References. The words “hereby,” “herein,”
“hereinabove,” “hereinafter,” “hereinbelow,” “hereof,” “hereunder” and words of similar import when used in this Amendment refer to this Amendment as a whole and not to any particular section or
provision of this Amendment. 
 9. Headings Descriptive. The headings of the several sections of this Amendment are inserted for
convenience only and do not in any way affect the meaning or construction of any provision of this Amendment. 
 10. Governing Law.
This Amendment shall be governed by and construed in accordance with the law of the State of Texas, without regard to such state’s conflict of laws rules that would require the application of the laws of another jurisdiction. 
 11. Payment of Expenses. The Borrower shall pay or reimburse the Bank for all of its out-of-pocket costs and reasonable expenses incurred in
connection with this Amendment, any other documents prepared in connection herewith and the transactions contemplated hereby, including, without limitation, the reasonable fees and disbursements of counsel to the Bank. 
 12. Release. The Borrower hereby releases and forever discharges the Bank and each affiliate thereof and each of their respective employees,
officers, directors, trustees, agents, attorneys, successors, assigns or other representatives from any and all claims, demands, damages, actions, cross-actions, causes of action, costs and expenses (including legal expenses), of any kind or nature
whatsoever, whether based on law or equity, which any of said parties has held or may now or in the future own or hold, whether known or unknown, for or because of any matter or thing done, omitted or suffered to be done on or before the actual date
upon which this Amendment is signed by any of such parties (i) arising directly or indirectly out of the Credit Agreement as amended or any other documents, instruments or any other transactions relating thereto and/or (ii) relating
directly or indirectly to all transactions by and between the Borrower or their representatives and the Bank or any of their respective directors, officers, agents, employees, attorneys or other representatives, including any such that is caused by
the negligence of any released party. Such release, waiver, acquittal and discharge shall and does include, without limitation, any claims of usury, fraud, duress, misrepresentation, lender liability, control, exercise of remedies and all similar
items and claims, which may, or could be, asserted by the Borrower. 
  

 3 

 13. Final Agreement of the Parties. THIS AMENDMENT, THE CREDIT AGREEMENT AND THE OTHER LOAN
DOCUMENTS REPRESENT THE FINAL AGREEMENT BETWEEN THE PARTIES AND MAY NOT BE CONTRADICTED BY EVIDENCE OF PRIOR, CONTEMPORANEOUS OR SUBSEQUENT ORAL AGREEMENTS OF THE PARTIES. THERE ARE NO UNWRITTEN ORAL AGREEMENTS AMONG THE PARTIES. 
  

 4 

 IN WITNESS WHEREOF, the parties are signing this Amendment as of the date first above written.

  

			
	FLOTEK INDUSTRIES, INC.
		
	By:	 	 /s/ Lisa Bromiley Meier

	Name:	 	Lisa Bromiley Meier
	Title:	 	Chief Financial Officer
	
	WELLS FARGO BANK, NATIONAL ASSOCIATION
		
	By:	 	 /s/ Chad Johnson

	Name:	 	Chad Johnson
	Title:	 	Vice President

  

 Signature Page 

 EXHIBIT A 
 ACKNOWLEDGMENT AND CONSENT 
 In connection with the First Amendment (the “First
Amendment”) to the Amended and Restated Credit Agreement dated as of August 31, 2007 (the ‘Credit Agreement”), which First Amendment is dated November 15, 2007, between Flotek Industries, Inc., a Delaware corporation
(the “Borrower”), and Wells Fargo Bank, National Association, each of the undersigned persons, as a Guarantor under the Guaranty made by each such Person in favor of the Bank in connection with the Loans to be advanced under the
Credit Agreement, (a) acknowledges the execution and delivery of the Amendment by the Borrower and the effect of the provisions of the Amendment and (b) confirms and agrees that as of the date hereof, after giving effect to the provisions
of the Amendment, the Guaranty is, and continues to be, in full force and effect and is hereby ratified and confirmed in all respects and that the Guaranty and all of the Collateral secure, and shall continue to secure, the payment of all of the
Obligations pursuant to the terms of the Guaranty and the Security Agreement, as the case may be. Capitalized terms used herein without definition have the meanings assigned to them in the Credit Agreement. 
  

			
	CESI CHEMICAL, INC.
	FLOTEK PAYMASTER, INC.
	MATERIAL TRANSLOGISTICS, INC.
	PADKO INTERNATIONAL, INC.
	PETROVALVE, INC.
	SPIDLE SALES & SERVICE, INC.
	TRINITY TOOL, INC.
	TURBECO, INC.
	USA PETROVALVE, INC.
	SOONER ENERGY SERVICES, INC.
	CAVO DRILLING MOTORS, LTD. CO.
	
	SES HOLDINGS, INC.
		
	By:	 	 /s/ Lisa Bromiley Meier

	Name:	 	Lisa Bromiley Meier
	Title:	 	Chief Financial Officer

  

 Exhibit A

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00139-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00139-of-00352.parquet"}]]