XML 22 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
Operating activities:      
Net income (loss) $ (63,900) $ (31,224) $ (33,074)
Adjustments to reconcile net income (loss) to net cash provided (used) by operating activities:      
Depreciation and amortization 15,254 17,858 19,124
Goodwill and other intangible asset impairment (Note 4) 18,312 0 38,515
Stock-based compensation expense 7,877 8,156 9,877
Operating lease, fixed asset, and other intangible asset impairments due to restructuring (Note 14) 0 454 5,215
Deferred income tax 5,358 889 (3,630)
Gain on sale of property, plant and equipment (33,114) (1,201) (767)
Provision for uncollectible accounts 738 85 1,158
Accelerated amortization of deferred debt amendment fees (Note 5) 1,518 0 0
Other 169 460 (7)
Changes in operating assets and liabilities increasing (decreasing) cash:      
Accounts receivable (6,587) 11,109 56,603
Costs and estimated earnings in excess of billings on uncompleted contracts (13,978) 28,774 36,535
Inventories (2,632) (882) 1,557
Other assets and liabilities (530) (21,916) 11,029
Accounts payable 13,654 (12,387) (38,915)
Billings on uncompleted contracts in excess of costs and estimated earnings 11,274 (8,610) (41,737)
Accrued expenses (7,609) 5,464 (17,398)
Net cash provided (used) by operating activities (54,196) (2,971) 44,085
Investing activities:      
Capital expenditures (3,345) (4,354) (18,539)
Proceeds from asset sales (Note 3) 39,018 2,090 1,423
Net cash provided (used) by investing activities 35,673 (2,264) (17,116)
Financing activities:      
Advances under senior secured revolving credit facility 0 1,125 18,567
Repayments of advances under senior secured revolving credit facility 0 (10,913) (14,357)
Advances under asset-backed credit facility 20,000 0 0
Repayments of advances under asset-backed credit facility (5,000) 0 0
Payment of debt amendment fees (1,263) (1,275) 0
Open market purchase of treasury shares 0 0 (17,045)
Issuances of common stock 199 349 0
Proceeds from issuance of common stock under employee stock purchase plan 270 299 320
Repurchase of common stock for payment of statutory taxes due on equity-based compensation (853) (1,554) (3,524)
Repayment of principal portion of long-term liability (654) (355) 0
Net cash used by financing activities 12,699 (12,324) (16,039)
Effect of exchange rate changes on cash (683) 1,401 (609)
Net increase (decrease) in cash and cash equivalents (6,507) (16,158) 10,321
Cash, cash equivalents, and restricted cash, beginning of period (Note 1) 83,878 100,036 89,715
Cash, cash equivalents, and restricted cash, end of period (Note 1) 52,371 83,878 100,036
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents 77,371 83,878  
Other cash flow information:      
Cash paid during the period for income taxes (2,864) 451 6,394
Cash paid during the period for interest 2,773 1,834 2,148
Non-cash investing and financing activities:      
Purchases of property, plant and equipment on account $ 54 $ 106 $ 48