Document:

FOURTH AMENDMENT TO AMENDED AND
RESTATED LOAN AND SECURITY AGREEMENT 

     This Fourth
Amendment to Amended and Restated Loan and Security Agreement (this “Amendment”)
is entered into as of October 23, 2009, by and between COMERICA BANK (“Bank”)
and LYRIS, INC., LYRIS TECHNOLOGIES INC. and COMMODORE RESOURCES (NEVADA), INC.
(each a “Borrower” and collectively, “Borrowers”). 

RECITALS 

     Borrowers
and Bank are parties to that certain Amended and Restated Loan and Security
Agreement dated as of March 6, 2008, as amended from time to time, including by
that certain First Amendment to Amended and Restated Loan and Security Agreement
dated as of July 30, 2008, that certain Second Amendment to Amended and Restated
Loan and Security Agreement dated as of December 31, 2008 and that certain Third
Amendment to Amended and Restated Loan and Security Agreement dated as of June
19, 2009 (collectively, the “Agreement”). The parties desire to amend the
Agreement in accordance with the terms of this Amendment. 

     NOW, THEREFORE, the parties agree as
follows: 

     1. The
following defined terms in Section 1.1 of the Agreement hereby are added,
amended or restated as follows: 

          “Applicable Term Loan Principal Payment Amount” means (i) One
Hundred Sixteen Thousand Sixty Hundred Sixty Seven and 67/100 Dollars
($116,667.67) for each month from January 2009 through December 2009 and (ii)
One Hundred Thirty Seven Thousand Five Hundred Dollars ($137,500) for each month
thereafter. 

          “Applicable Unused Fee Percentage” means (i) one quarter of
one percent (0.25%) if the Total Leverage Ratio calculated pursuant to Section
6.7(c) hereof is less than or equal to 1.00 to 1.00 for the most recently ended
measuring period and (ii) one half of one percent (0.50%) if the Total Leverage
Ratio calculated pursuant to Section 6.7(c) hereof is greater than 1.00 to 1.00
for the most recently ended measuring period.

          “EBITDA” means earnings of Borrowers before interest, taxes,
depreciation, amortization and non-cash stock compensation expense. 

          “Revolving Line” means a Credit Extension of up to Three
Million Nine Hundred Twenty-Five Thousand Dollars ($3,925,000) inclusive of any
amounts outstanding under the Letter of Credit Sublimit, the ACH Sublimit and
the Foreign Exchange Sublimit; provided however that availability under the
Revolving Line shall be reduced by an amount equal to Ninety One Thousand Six
Hundred Sixty Seven Dollars ($91,667) on the last day of each month commencing
on October 31, 2009 and continuing on the last day of each month thereafter
through the Revolving Maturity Date.

          “Revolving
Maturity Date” means April 30, 2011. 

          “Term
Loan Maturity Date” means April 30, 2011. 

     2. Section 2.1(c)(iii) of the Agreement hereby is amended and restated in
its entirety to read as follows: 

          “(iii) No later than February 15 of each calendar year during
which the Term Loan is outstanding, commencing with the calendar year 2011,
Borrowers shall pay to Bank an amount equal to seventy five percent (75%) of
their Excess Cash Flow for the immediately preceding calendar year.” 

     3. Bank hereby waives Borrowers’ failure to comply with Section 6.7(b) of
the Agreement, as in effect prior to the date of this Amendment, solely for the
measuring period ended September 30, 2009. 

     4. Section 6.7 of the Agreement hereby is
amended and restated in its entirety to read as follows: 

-1- 

     “6.7
Financial Covenants. Borrower shall at all times maintain the following financial ratios and
covenants: 

          (a) Debt Service Coverage Ratio. Measured on a monthly basis,
a ratio of EBITDA (measured on an annualized trailing six (6) month basis) minus
cash taxes and non-financed Capitalized Expenditures to the sum of cash interest
expense (measured on an annualized trailing six (6) month basis) plus the
current portion of all Indebtedness of at least 1.25 to 1.00. 

          (b) Three Month
EBITDA. Measured monthly on a rolling three
(3) month basis, EBITDA of not less than Five Hundred Thousand Dollars
($500,000). 

           (c) Six Month
EBITDA. Measured monthly on a trailing sixth
(6) month basis, EBITDA of not less than One Million Six Hundred Thousand
Dollars ($1,600,000). 

          (d) Total Leverage
Ratio. Measured on a monthly basis, a ratio
of all Indebtedness to EBITDA (measured on an annualized trailing six (6) month
basis) of not greater than: (i) 2.25 to 1.00 for each monthly measuring period
through the measuring period ending May 31, 2010, (ii) 2.00 to 1.00 for each
subsequent monthly measuring period through the monthly measuring period ending
November 30, 2010; and (iii) 1.50 to 1.00 for each monthly measuring period
thereafter.” 

     5. As
of the date of this Amendment, Bank shall be deemed to have made an Advance to
Borrowers in the amount of Two Million Dollars ($2,000,000), which Advance shall
pay down an equal amount of principal outstanding under the Term
Loan.

     6. All references in the Loan Documents to
Bank's address at 75 East Trimble Road, M/C 4770, San Jose, California 95131, Attn: Manager
shall mean and refer to 39200 Six Mile Road,
M/C 7578, Livonia, Michigan 48152, Attn: National Documentation Services.

     7. Exhibit C to the Agreement hereby is
replaced with Exhibit C attached hereto. 

     8. No
course of dealing on the part of Bank or its officers, nor any failure or delay
in the exercise of any right by Bank, shall operate as a waiver thereof, and any
single or partial exercise of any such right shall not preclude any later
exercise of any such right. Bank’s failure at any time to require strict
performance by a Borrower of any provision shall not affect any right of Bank
thereafter to demand strict compliance and performance. Any suspension or waiver
of a right must be in writing signed by an officer of Bank. 

     9. Unless otherwise defined, all initially capitalized terms in this
Amendment shall be as defined in the Agreement. The Agreement, as amended
hereby, shall be and remain in full force and effect in accordance with its
respective terms and hereby is ratified and confirmed in all respects. Except as
expressly set forth herein, the execution, delivery, and performance of this
Amendment shall not operate as a waiver of, or as an amendment of, any right,
power, or remedy of Bank under the Agreement, as in effect prior to the date
hereof. 

     10. Each Borrower represents and warrants that the Representations and
Warranties contained in the Agreement are true and correct as of the date of
this Amendment, and that no Event of Default has occurred and is
continuing.

     11. As
a condition to the effectiveness of this Amendment, Bank shall have received, in
form and substance satisfactory to Bank, the following: 

          (a) this Amendment, duly
executed by each Borrower; 

          (b) a Certificate of the Secretary of each Borrower with respect
to incumbency and resolutions authorizing the execution and delivery of this
Amendment; 

- 2 - 

          (c) all reasonable Bank Expenses incurred through the date of this
Amendment, which may be debited from any of Borrowers’ accounts; and

          (d)
such other documents, and completion of such other matters, as Bank may
reasonably deem necessary or appropriate.

     12. This Amendment may be executed in two or more counterparts, each of which
shall be deemed an original, but all of which together shall constitute one
instrument.

 

 

 

[Balance of Page Intentionally Left Blank]

 

 

 

- 3 -

     IN WITNESS
WHEREOF, the undersigned have executed this Amendment as of the first date above
written. 

	LYRIS, INC.  
	 
	By:  	/s/ Luis Rivera  
	 
	Title:  	Chief Executive
      Officer  
	 
	 
	LYRIS
      TECHNOLOGIES INC.  
	 	
	By:  	/s/ Luis Rivera  
	 	
	Title:  	Chief Executive
      Officer  
	 
	 
	COMMODORE RESOURCES (NEVADA), INC.  
	 
	By:  	/s/ Luis Rivera  
	 
	Title:  	Assistant
      Secretary  
	 
	 
	COMERICA BANK  
	 
	By:  	/s/ Philip Koblis  
	 
	Title:  	Senior Vice
      President  

 

[Signature Page to Fourth Amendment to Amended and Restated Loan and
Security Agreement] 

EXHIBIT C 

COMPLIANCE CERTIFICATE

	TO:		COMERICA BANK
		 	
	FROM:	         
	LYRIS INC., for itself and on behalf of all
      Borrowers

     The
undersigned authorized officer of LYRIS, INC., for itself and on behalf of all
Borrowers, hereby certifies that in accordance with the terms and conditions of
the Loan and Security Agreement between Borrowers and Bank (the "Agreement"),
(i) Each Borrower is in complete compliance for the period ending
_______________ with all required covenants except as noted below and (ii) all
representations and warranties of each Borrower stated in the Agreement are true
and correct as of the date hereof. Attached herewith are the required documents
supporting the above certification. The Officer further certifies that these are
prepared in accordance with Generally Accepted Accounting Principles (GAAP) and
are consistently applied from one period to the next except as explained in an
accompanying letter or footnotes. 

Please indicate compliance status by
circling Yes/No under "Complies" column. 

	Reporting
      Covenant 		     	Required 	 	 	     	Complies 	 	  
	Monthly financial statements 		Monthly within 30 days 			Yes 		No  
	10K
		Within 90
      days of fiscal year end 			Yes 		No 
	10Q 		Within 45 days of quarter end 			Yes 	 	No 
	Borrowing
      Base Cert, A/R & A/P Agings 		Monthly
      within 30 days 			Yes 	 	No 
	Compliance Cert. 		Monthly within 30 days 			Yes 	 	No 
	A/R
      Audit 		Semi-Annual 			Yes 	 	No 
	IP Report 		Quarterly within 45 days 			Yes 	 	No 
	Total amount
      of Borrowers' cash and investments 		Amount:  $________ 			Yes 	 	No 
	Total amount of Borrowers' cash and investments  		Amount:  $________ 			Yes 	 	No 
	maintained with Bank 		 					
	    
	Financial Covenant
      	 	     	Required 	 	Actual 	 	     	Complies 	 	  
	Maximum
      Total Leverage 							
	     Through 5/31/10 		2.25:1.00 	____:1.00  		Yes 		No 
  
	     6/1/10 – 11/30/10 		2.00:1.00 	 		 		
	     12/1/10 and thereafter 		1.50:1.00 	 		 		
	 							
	Minimum
      3-Month EBITDA 							
			$500,000 	$___________ 		Yes 		No 
	 		 			 		
	Minimum 6-Month EBITDA 		 			 		
			$1,600,000
      	$___________ 		Yes 		No 
	 		 			 		
	Minimum
      Debt Service Coverage 							
	 		1.25:1.00 	____:1.00  		Yes 		No
  

	Comments Regarding Exceptions: See Attached. 	     	  BANK
      USE ONLY 
			 	 
	Sincerely, 	 	  Received by: 	 
     	 	 	 
	 	 	 	  	AUTHORIZED
      SIGNER 	 
	 	 	 	 	 	  Date: 	  	   	 	 	 
	          	SIGNATURE 	 	 	 	  	   			 
		 	 	 		  Verified: 		   	 	 	 
		TITLE
	 		 	  	AUTHORIZED
      SIGNER 	 
		 	 	 		  Date: 		 
       	 	 	 
		DATE 	 		 					 
	 		 	 	  Compliance Status
 	Yes     	NoExhibit 10.1

                           FIFTH WAIVER AND AMENDMENT
                           --------------------------

     This FIFTH WAIVER AND AMENDMENT ("Amendment") is made effective the 1st day
of October, 2009, by and between CDEX Inc., a Nevada corporation ("Company"),
and GEMINI MASTER FUND, LTD., a Cayman Islands company ("Holder").

                              W I T N E S S E T H:
                              - - - - - - - - - -

          WHEREAS, pursuant to that certain Securities Purchase Agreement
("Purchase Agreement") dated as of June 25, 2008 by and between the Company and
the Holder, on or about such date the Company sold and issued to the Holder (i)
a 12% Senior Convertible Note ("Note"), which Note is convertible into shares of
common stock of the Company, $0.005 par value per share ("Common Stock"), and
(ii) a Common Stock Purchase Warrant to purchase up to 2,717,391 shares of
Common Stock ("Warrant");

          WHEREAS, by agreements dated December 18, 2008 and February 1, May 1
and June 1, 2009, entitled Waiver and Amendment ("First Amendment"), Second
Waiver and Amendment ("Second Amendment"), Third Waiver and Amendment ("Third
Amendment"), and Fourth Waiver and Amendment ("Fourth Amendment"), respectively,
the Transaction Documents were amended; capitalized terms used herein but not
otherwise defined herein shall have the meanings set forth in the Purchase
Agreement, the Note, the Warrant, the First Amendment, the Second Amendment, the
Third Amendment or the Fourth Amendment, as the case may be; and

          WHEREAS, the Company wishes to extend the Extended Waiver Period (as
defined below) without the anti-dilution adjustments applying as set forth in
the Transaction Documents in certain circumstances and to delay payments to
Holder for interest and Monthly Redemption Amounts due on and from October 1,
2009 through and including January 31, 2010 under the Note and subsequent
amendments until February 1, 2010.

          NOW THEREFORE, in consideration of the foregoing premises and the
mutual covenants set forth in this Amendment, and for other good and valuable
consideration, the receipt and sufficiency of which are hereby acknowledged, the
parties hereto agree as follows:

     1.   Subsequent Issuance Waivers--Common Stock Issuances. --Common Stock
Issuances. Notwithstanding anything contained in the Transaction Documents,
including the First Amendment, Second Amendment, Third Amendment and Fourth
Amendment, to the extent the Company sells and issues shares of Common Stock or
warrants in one or more Common Stock Financings (as defined below) during the
period from December 18, 2008 until February 1, 2010 ("Extended Waiver Period")
for gross proceeds which do not exceed $800,000 in the aggregate, such issuances
shall constitute "Exempt Issuances" under the Transaction Documents, provided
that the Company hereby agrees that all issuances from Common Stock Financings
raising in excess of such $800,000 shall not constitute "Exempt Issuances" under
the Transaction Documents. For purposes hereof, "Common Stock Financing" means
the sale and issuance of shares of Common Stock by the Company in a capital
raising financing, provided that (a) the effective sale price per share of
Common Stock shall equal at least $0.05, (b) the transaction shall not be a
Variable Rate Transaction or MFN Transaction, and (c) the Company may issue to

                                       1
<PAGE>

the purchasers thereof, in connection with any such financing, warrants to
purchase a number of shares of Common Stock equal to 50% of the number of shares
of Common Stock sold to such purchasers in such financing, provided that the
effective exercise price per share of Common Stock under such warrants shall
equal at least $0.10. For clarification, a Common Stock Financing may result
from the sale and issuance of shares of Common Stock pursuant to the exercise of
currently outstanding warrants following a reduction of the exercise price
thereunder, provided that the provisions of the preceding sentence are
satisfied.

     2.   Monthly Redemptions. The Holder hereby agrees that the Company, at its
option, may delay payment of the interest and Monthly Redemption Amounts which
have not previously been paid or converted to Common Stock due on October 1,
2009 (including amounts which had been previously deferred until such date)
through January 31, 2010 until February 1, 2010 (in which case on February 1,
2010 the Company shall pay all interest and all the Monthly Redemption Amounts
due prior to such date and the payment due on February 1, 2010, i.e., a total of
$742,869.35, consisting of $628,399.84 principal and $114,469.51 interest
accruing under the Note from March 16, 2009 through February 1, 2010). The
Holder at its option may at any time and from time to time convert any or all of
said $742,869.35 in principal and interest under the Note into Common Stock of
the Company at a conversion price equal to $0.05 per share. The Company shall
give the Holder at least 5 days prior written notice of any early payment of any
portion of such amount, in which case such amount elected to be prepaid shall be
due and payable on such early payment date elected.

     3.   Temporary Conversion Cap. Until June 23, 2010, the maximum number of
shares into which the Note and Warrant are convertible and exercisable shall be
10,014,313 shares, provided that (1) such maximum number of shares may be
applied all to the Note or to the Warrant or a combination thereof as may be
determined by the Holder, and (2) any shares previously reserved for conversion
and exercise of the Note and Warrant by the Company shall remain reserved for
the Holder, and the Holder may use shares reserved for exercise of the Warrant
for conversion of the Note instead or as it may otherwise determine, in each
case in the sole discretion of the Holder. At all times on and after June 24,
2010, the Company shall cause there to exist, and reserve for issuance to the
Holder, a number of authorized and unissued shares of Common Stock at least
equal to 100% of the number of shares issuable to the Holder upon full
conversion and exercise of the Note and Warrant in accordance with the terms
thereof, without regard to any limitation contained therein on conversion,
exercise, beneficial ownership or the limitation contained in the preceding
sentence (which limitation shall terminate on June 23, 2010). If at any time on
or after June 24, 2010 the Company fails to have a sufficient number of shares
of Common Stock so reserved as required by the preceding sentence, then the
Holder shall have the right to compel the Company to redeem the portion of the
Note and/or Warrant held by the Holder which cannot be converted or exercised
due to such failure, as may be elected by the Holder. The redemption price for
any such portion of the Warrant redeemed under this subsection shall equal the
value of the Warrant being redeemed as determined using the Black-Scholes Option
Pricing Model via Bloomberg, and the redemption price under the Note shall be
the Mandatory Default Amount. Without limiting the foregoing, such failure shall
constitute an Event of Default under the Note.

     4.   Rule 144. The Company acknowledges and agrees that, for purposes of
Rule 144 promulgated under the Securities Act of 1933, as amended ("Securities
Act"), the holding period for the shares of Common Stock issuable upon

                                       2
<PAGE>

conversion or cashless exercise of, or otherwise pursuant to, the Note and/or
Warrant, shall have commenced on June 25, 2008 (the date of original issuance of
the Note and the Warrant), notwithstanding this Amendment. Without limiting the
foregoing, if at any time it is determined that such holding period does not
relate back to such date, the Company will promptly cause the registration of
all such underlying shares under the Securities Act (without regard to any
beneficial ownership or issuance limitations contained in the Note and/or
Warrant). In connection with any registration of shares of Common Stock pursuant
to this Section, the Company and the Holder shall enter into a registration
rights agreement containing customary and reasonable provisions regarding the
registration of securities under the Securities Act.

     5.   Disclosure. To the extent the transactions contemplated by this
Amendment constitute material non-public information concerning the Company or
are otherwise required to be publicly disclosed under the Securities Exchange
Act of 1934, as amended, and the rules promulgated thereunder, the Company
shall, within three (3) business days following the date hereof, issue a press
release and/or Current Report on Form 8-K disclosing the material terms of the
transactions contemplated hereby. The Company and the Holder shall consult with
each other in issuing any other press releases with respect to the transactions
contemplated hereby.

     6.   Miscellaneous.

            (a)   Full Force and Effect. Except as otherwise expressly provided
herein, each of the Purchase Agreement, the Note, the Warrant, the First
Amendment, the Second Amendment, the Third Amendment, the Fourth Amendment and
the other agreements and transactions contemplated thereby ("Transaction
Documents") shall remain in full force and effect. Except for the waiver and
modifications contained herein, this Amendment shall not in any way waive or
prejudice any of the rights or obligations of the Holder or the Company under
the Transaction Documents, under any law, in equity or otherwise, and such
modifications shall not constitute a waiver or modification of any other
provision of the Transaction Documents nor a waiver or modification of any
subsequent default or breach of any obligation of the Company or of any
subsequent right of the Holder.

            (b)   Governing Law. This Amendment shall be governed by and
construed in accordance with the internal laws of the State of New York.

            (c)   Counterparts. This Amendment may be executed in any number of
counterparts, each of which will be deemed an original, but all of which
together will constitute one and the same instrument. This Amendment may be
executed by facsimile or by email of a digital image format or portable document
format of the signature page hereto.

                                       3
<PAGE>

     IN WITNESS WHEREOF, each of the parties hereto has caused this Amendment to
be duly executed effective the date first written above.

                                    CDEX INC.

                                    By:
                                        ---------------------------------------
                                    Name:  Malcolm H. Philips, Jr.
                                    Title: CEO

                                    GEMINI MASTER FUND, LTD.
                                    By:    GEMINI STRATEGIES, LLC,
                                           as investment manager

                                           By:
                                               --------------------------------
                                           Name:  Steven Winters
                                           Title: President

                                       4

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