Document:

<PAGE>   1

                                                                   EXHIBIT 10.20

                            AMENDMENT NUMBER FIVE TO
                           LOAN AND SECURITY AGREEMENT

         THIS AMENDMENT NUMBER FIVE TO LOAN AND SECURITY AGREEMENT, dated as of
April 13, 2000 (this "Amendment"), amends that certain Loan and Security
Agreement, dated as of April 23, 1998 (as the same has been amended from time to
time, the "Loan Agreement"), among MAI SYSTEMS CORPORATION, a Delaware
corporation ("MAI") and HOTEL INFORMATION SYSTEMS, INC., a Delaware corporation
("Hotel") ( MAI and Hotel are each a "Borrower" and collectively the
"Borrowers"), on the one hand, and COAST BUSINESS CREDIT, a division of Southern
Pacific Bank, a California corporation ("Coast"), on the other hand. All
initially capitalized terms used in this Amendment shall have the meanings
ascribed thereto in the Loan Agreement unless specifically defined herein.

                                 R E C I T A L S

         WHEREAS, pursuant to that certain letter agreement dated as of October
1, 1999 (the "Forbearance Letter"), Coast agreed in favor of Borrowers to a
limited forbearance through December 31, 1999 (the "Limited Forbearance Period),
with respect to certain Events of Default (the "Existing Defaults"), subject to
certain terms and conditions, all as defined and set forth in the Forbearance
Letter;

         WHEREAS, the Limited Forbearance Period has expired and the Existing
Events of Default continue to exist;

         WHEREAS, Borrowers and Coast have decided to amend and restructure the
Loan Agreement as set forth below which will, among other things, waive the
Existing Events of Default; and

         NOW, THEREFORE, the parties hereto agree as follows:

                                A M E N D M E N T

         Section 1. The Forbearance Letter requires, among other things, that
Borrowers make amortization payments with respect to the Bridge Loan in the
amount of Twenty-Five Thousand Dollars ($25,000) per week. Notwithstanding the
waiver of the Existing Events of Default, Borrowers and Coast agree that such
amortization payments will be increased to Thirty-Five Thousand Dollars
($35,000) per week until the Bridge Loan is paid in full.

         Section 2. The Forbearance Letter requires, among other things, that
Borrowers pay a monthly fee equal to $10,000 on the first of each month so long
as any portion of the Bridge Loan remains unpaid. Upon the effectiveness of this
Amendment, any future payments of such fee will be eliminated.

         Section 3. AMENDMENT TO SUBPARAGRAPH (a) OF SECTION 2 OF THE SCHEDULE
TO THE LOAN AGREEMENT. Subparagraph (a) of Section 2 of the Schedule to the

                                       1
<PAGE>   2

Loan Agreement is hereby amended by deleting such Subparagraph in its entirety
and replacing it with the following:

         (a) Collection Loans in a total amount at any time outstanding not to
         exceed the lesser of (i) $3,360,000 (the "Reducing Collections
         Sublimit") or (ii) two (2) times Borrowers' aggregate monthly
         collections received by Coast, measured on a trailing twelve (12) month
         average, arising out of Receivables generated from Borrowers' software
         and hardware service and maintenance contracts, subject to audit,
         appraisal and a review of such contracts. The amount of Loans available
         under subsection (ii) of this paragraph will be referred to as the
         "Available Collections Sublimit". The Reducing Collections Sublimit
         will be subject to decrease, but not subject to increase, to an amount
         equal to the then effective Available Collections Sublimit; and"

         Section 4. AMENDMENT TO SECTION 3 OF THE SCHEDULE TO THE LOAN
AGREEMENT. Pursuant to the terms of the Loan Agreement and as set forth in the
Forbearance Letter, the current rates of interest on the Loans and the Bridge
Loan are the default rates of interest of, the Prime Rate plus 5.25% with
respect to the Loans, and the Prime Rate plus 8.00% with respect to the Bridge
Loan. Upon the effectiveness of this Amendment, Borrowers and Coast agree that
such default rates of interest will cease and all Loans including the Bridge
Loan will thereafter accrue interest as follows, pursuant to an amended Section
3.1 of the Schedule to the Loan Agreement:

         "A rate equal to the Prime Rate plus 4.50% per annum with respect to
         all Loans including the Bridge Loan, calculated on the basis of a 360
         day year for the actual number of days elapsed. The interest rate
         applicable to all Loans including the Bridge Loan shall be adjusted
         monthly as of the first day of each month, and the interest to be
         charged for each month shall be based on the highest Prime Rate in
         effect during the prior month, but in no event shall the rate of
         interest charged on either the Loans or the Bridge Loans in any month
         be less than 9.00% per annum."

         Section 5. AMENDMENT TO SECTION 8.1 OF THE SCHEDULE TO THE LOAN
AGREEMENT. The second paragraph of Section 8.1 of the Schedule to the Loan
Agreement regarding Borrowers' Consolidated Net Worth is hereby amended by
deleting such paragraph in its entirety and replacing it with the following:

         "At all times, commencing with Borrowers' fiscal quarter ending June
         30, 2000, Borrowers shall maintain a Consolidated Net Worth in an
         amount not less than Borrower's historical Consolidated Net Worth as of
         Borrowers' fiscal quarter ending March 31, 2000, as reflected in
         Borrower's 10-Q Statement filed with the Securities and Exchange
         Commission. Such Consolidated Net Worth requirement will be increased
         quarterly, commencing with Borrowers' fiscal quarter ending September
         30, 2000, by 80% of Borrowers' consolidated after tax net income, on a
         cumulative basis from June 30, 2000, calculated in accordance with
         GAAP."

         Section 6. AMENDMENT TO SECTION 8.1 OF THE SCHEDULE TO THE LOAN
AGREEMENT. The third paragraph of Section 8.1 of the Schedule to the Loan
Agreement

                                       2
<PAGE>   3

regarding Borrower's monthly pre-tax profit is hereby deleted in its entirety
and replaced with the following net income requirement:

         "Borrowers shall attain minimum fiscal quarter ending net income,
         calculated in accordance with GAAP, as follows: (i) One Thousand
         Dollars ($1,000) for the fiscal quarter ending June 30, 2000; and (ii)
         Two Hundred and Fifty Thousand Dollars ($250,000) for each and every
         fiscal quarter thereafter, commencing with the fiscal quarter ending
         September 30, 2000."

         Section 7. AMENDMENT TO SECTION 8.1 OF THE SCHEDULE TO THE LOAN
AGREEMENT. The fourth paragraph of Section 8.1 of the Schedule to the Loan
Agreement regarding Borrowers' Debt Service Coverage Ratio is hereby amended by
deleting such paragraph in its entirety and replacing it with the following:

         "Borrowers' shall maintain a Debt Service Coverage Ratio, measured
         quarterly at the end of each fiscal quarter, as follows: (i) 1.05 to
         1.00 for the fiscal quarters ending June 30, 2000 and September 30,
         2000; and (ii) 1.10 to 1.00 for each and every fiscal quarter
         thereafter, commencing with the fiscal quarter ending December 31,
         2000."

         Section 8. RESTRUCTURE FEE LOAN. In consideration of Coast's entering
into this Amendment, Borrowers shall pay Coast a fee in the amount of Three
Hundred Thousand Dollars ($300,000) (the "Restructure Fee Loan"), which shall be
fully earned upon the effectiveness of this Amendment and charged to Borrower's
loan account; provided, however, such Restructure Loan Fee shall only be counted
against Borrowers' loan availability to the extent that amounts have become due
and payable pursuant to the weekly repayment schedule for the Restructure Loan
Fee as set forth below. The Restructure Fee Loan will be paid pursuant to weekly
amortization payments, each in the amount of Thirty-Five Thousand Dollars
($35,000), commencing on the earlier to occur of: (i) the thirty second (32nd)
week following the effectiveness of this Amendment, or (ii) the week immediately
following the repayment of the Bridge Loan in its entirety, until the
Restructure Fee is paid in full.

         Section 9. CONDITION PRECEDENT. The effectiveness of this Amendment is
expressly conditioned upon the receipt by Coast of a fully executed copy of this
Amendment.

         Section 10. ENTIRE AGREEMENT. The Loan Agreement, as amended hereby,
embodies the entire agreement and understanding between the parties hereto and
supersedes all prior agreements and understandings relating to the subject
matter hereof. Borrowers represent, warrant and agree that in entering into the
Loan Agreement and consenting to this Amendment, they have not relied on any
representation, promise, understanding or agreement, oral or written, of, by or
with, Coast or any of its agents, employees, or counsel, except the
representations, promises, understandings and agreements specifically contained
in or referred to in the Loan Agreement, as amended hereby.

         Section 11. CONFLICTING TERMS. In the event of a conflict between the
terms and provisions of this Amendment and the terms and provisions of the Loan
Agreement, the terms of this Amendment shall govern. In all other respects, the
Loan Agreement, as amended and supplemented hereby, shall remain in full force
and effect.

                                       3
<PAGE>   4

         Section 12. MISCELLANEOUS. This Amendment shall be governed by and
construed in accordance with the laws of the State of California. This Amendment
may be executed in any number of counterparts, all of which taken together shall
constitute one agreement, and any party hereto may execute this Amendment by
signing such counterpart.

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

                                   BORROWER:

                                   MAI SYSTEMS CORPORATION,
                                   a Delaware corporation

                                   By
                                      ------------------------------------------
                                            President or Vice President

                                   By
                                      ------------------------------------------
                                            Secretary or Ass't Secretary

                                   HOTEL INFORMATION SYSTEMS, INC,
                                   a Delaware corporation

                                   By
                                      ------------------------------------------
                                            President or Vice President

                                   By
                                      ------------------------------------------
                                            Secretary or Ass't Secretary

                                   COAST:

                                   COAST BUSINESS CREDIT,
                                   a division of Southern Pacific Bank

                                   By
                                      ------------------------------------------
                                   Title
                                         ---------------------------------------

                                       4<PAGE>   1

                                                                   EXHIBIT 10.21

                             MAI SYSTEMS CORPORATION

                             STOCK OPTION AGREEMENT

MAI SYSTEMS CORPORATION, a Delaware corporation (the "Company"), hereby grants
to Sasun Musliyan (the "Optionee") an option to purchase a total of 25,000
shares of Common Stock (the "Shares") of the Company, at the price set forth
herein, and in all respects subject to the terms, conditions, and provisions of
this Agreement and of the Company's 1993 Stock Option Plan (the "Plan") which
was incorporated into and approved as part of the Company's Plan of
Reorganization, approved by the Bankruptcy Court, and which is attached as
Exhibit "A" and is incorporated herein by this reference. Terms defined in the
Plan shall have the same meanings herein.

         1. NATURE OF THE OPTION. This Option is intended to be and is a
Nonstatutory Stock Option and is not intended to be an Incentive Stock Option
within the meaning of Section 422 of the Internal Revenue Code of 1986, as
amended (the "Code").

         2. THE DATE OF GRANT AND TERM OF THE OPTION. This Option is granted on
January 20, 1999. The term of the Option is ten years from the date of grant and
this Option may not, in any event, be exercised later than January 20, 2009. If
the Option is not exercised within ten years of the date of grant, it will
expire and terminate.

         3. OPTION EXERCISE PRICE. The Option exercise price is $2.75 per share,
which price is not less than eighty-five percent (85%) of the Fair Market Value
of a share of Common Stock on the date this Option was granted.

         4. EXERCISE OF THE OPTION. This Option shall be exercisable during its
term only in accordance with the terms, conditions, and provisions of the Plan
and this Agreement as follows.

                   (a) RIGHT TO EXERCISE. This Option shall vest and be
exercisable, cumulatively, as follows:

                                    Date                    Number of Shares
                                    ----                    ----------------

            After            January 20, 2000                    8,333
            After            January 20, 2001                    8,333
            After            January 20, 2002                    8,334
                             ----------------                   ------
                                      Total                     25,000

                   (b) METHOD OF EXERCISE. The Optionee shall purchase a minimum
of at least 100 shares per transaction concerning the exercise of the Option.
This Option shall be exercisable by actual receipt by the Company of written
notice provided by the Optionee which shall state the election to exercise this
Option, the number of whole Shares in respect to which this Option is being
exercised, and such other representations and agreements as to the Optionee's
investment intent with respect to such Shares as may be required by the Company
hereunder or pursuant to the provisions of the Plan. Such written notice shall
be signed by the

                                       1
<PAGE>   2

Optionee and shall be delivered in person or by certified mail, return receipt
requested, to the then current President or Chief Financial Officer of the
Company or any other person as may be designated by the Company. The written
notice shall be accompanied by payment of the purchase price for the number of
Shares in respect to which this Option shall be exercised. Payment of the
purchase price shall be by check payable to the order of the Company,
outstanding shares of Common Stock duly endorsed to the Company (which shares
shall be valued at their Fair Market Value as of the day preceding the day of
such exercise), or any combination of the foregoing.

                   Unless otherwise determined by the Board of Directors of the
Company, the Company may arrange for the simultaneous exercise and sale of
Shares through the cooperation of broker-dealers which finance "same day" sales.

                   The certificate(s) for the Shares as to which the Option
shall be exercised shall be registered in the name of the Optionee and shall be
legended as set forth in the Plan or as required under applicable regulatory,
state or federal law.

                   (c) FURTHER RESTRICTIONS ON THE EXERCISE OF THE OPTION. This
Option shall not be exercised if the issuance of the Shares upon such exercise
would constitute a violation of any applicable federal or state securities law
or laws or regulations. As a condition to the exercise of this Option, the
Company may require the Optionee to make any representation, warranty or
certification to the Company as may be required by any applicable law or
regulation or by the Plan. There shall be no exercise of any fractional shares
concerning the Option.

                   (d) ADJUSTMENT UPON CHANGE OF CAPITALIZATION. Appropriate
adjustment shall be made in the number, exercise price and class of shares of
stock subject to the Option in the event of a stock dividend, stock split,
reverse stock split, recapitalization, combination, reclassification, or like
change in the capital structure of the Company.

         5. TERMINATION OF STATUS AS AN EMPLOYEE. If the Optionee ceases to
serve as an Employee for any reason other than death or for Cause (as defined in
the Plan) and thereby terminates his status as an Employee, the Optionee shall
have the right to exercise this Option at any time within ninety (90) days
following the date of such termination, to the extent that the Optionee was
entitled to exercise the Option at the date of such termination, but in no event
after the expiration of the term of the Option set forth in Section 2 hereof.

         If the Optionee ceases to serve as an Employee due to death, this
Option may be exercised at any time within one (1) year following the date of
death by the Optionee's executor or administrator or the person or persons who
shall have acquired the Option by bequest or inheritance but only to the extent
the Optionee was entitled to exercise this option at the date of death. To the
extent that the Optionee was not entitled to exercise the Option at the date of
termination or death, or to the extent the Option is not exercised within the
time specified herein, this Option shall terminate. Notwithstanding the
foregoing, this Option shall not be exercisable after the expiration of the term
set forth in Section 2 hereof. If the Optionee ceases to serve as an Employee
due to termination of his employment by the Company for cause (as defined in the
Plan), this Option shall cease to be exercisable ten (10) days following the
date the notice of such termination is delivered to the Optionee.

                                       2
<PAGE>   3

         6. NONTRANSFERABILITY OF THE OPTION. This Option may not be sold,
ledged, assigned, hypothecated, gifted, transferred or disposed of in any manner
either voluntarily or involuntarily by operation of law, other than by will or
by the laws of descent of distribution, and may be exercised during the lifetime
of the Optionee only by such Optionee. Subject to the foregoing and the terms of
the Plan, the terms of this Option shall be binding upon the executors,
administrators, heirs, successors and assigns of the Optionee.

         7. CONTINUATION OF EMPLOYMENT. Neither this Plan nor any Option granted
hereunder shall confer upon any Optionee any right to continue in the employment
of the Company or any of its Subsidiaries or limit in any respect the right of
the Company to discharge the Optionee at any time, with or without cause and
with or without notice.

         8. WITHHOLDING TAX LIABILITY. The Optionee understands and agrees that
the company may be required to withhold part or all of the Optionee's regular
compensation to pay any taxes required to be withheld under federal, state, or
local law as a result of the exercise of this Option, and that if such regular
compensation is insufficient, the Company may require the Optionee, as a
condition of exercise of this Option, to pay in cash the amount of such
withholding tax liability.

         9. THE PLAN. This Option is subject to, and the Company and the
Optionee expressly agree to be bound by, all of the terms and conditions of the
Plan as it may be amended from time to time in accordance with the terms
thereof, provided that no such amendment shall deprive the Optionee, without his
written consent, of this Option or any rights hereunder. Pursuant to the Plan,
the Committee appointed by the Board of Directors of the Company to administer
the Plan is authorized to adopt rules and regulations not materially
inconsistent with the Plan as it shall deem appropriate and proper. If questions
arise as to the intent, meaning or application of the provisions of this Option
Agreement or of the Plan, such questions shall be decided by Committee in its
sole discretion, and any such decision shall be conclusive and binding on the
Optionee. A copy of the Plan in its present form is available for inspection
during regular business hours by the Optionee of the persons entitled to
exercise this Option at the Company's principal office.

                                       MAI SYSTEMS CORPORATION

Dated: August 5, 1999                  By: /s/ LEWIS H. STANTON
                                           -------------------------------------
                                           Lewis H. Stanton
                                           Executive Vice President,
                                           Chief Operating and Financial Officer
                                           & Secretary

Dated: August 12, 1999                 By: /s/ [SIG]
                                           -------------------------------------
                                           Optionee

                                       3

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