XML 27 R7.htm IDEA: XBRL DOCUMENT v3.21.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2019
Operating activities:      
Net income (loss) $ (31,224) $ (33,074) $ 27,982
Adjustments to reconcile net income (loss) to net cash provided (used) by operating activities, net of effects of disposals:      
Depreciation and amortization 17,858 19,124 18,224
Goodwill and Intangible Asset Impairment (Note 4) 0 38,515 0
Stock-based compensation expense 8,156 9,877 11,908
Operating lease, fixed asset, and other intangible asset impairments due to restructuring (Note 14) 454 5,215 0
Deferred income tax 889 (3,630) 2,061
Gain (Loss) on Disposition of Business 0 0 (427)
Gain on sale of property, plant and equipment (1,201) (767) (854)
Provision for uncollectible accounts 85 1,158 5
Other 460 (7) 701
Changes in operating assets and liabilities increasing (decreasing) cash, net of effects from disposals:      
Accounts receivable 11,109 56,603 (15,374)
Costs and estimated earnings in excess of billings on uncompleted contracts 28,774 36,535 (19,809)
Inventories (882) 1,557 (2,872)
Other assets and liabilities (21,916) 11,029 (12,246)
Accounts payable (12,387) (38,915) 32,651
Billings on uncompleted contracts in excess of costs and estimated earnings (8,610) (41,737) (14,983)
Accrued expenses 5,464 (17,398) 14,427
Net cash provided (used) by operating activities (2,971) 44,085 41,394
Investing activities:      
Capital expenditures (4,354) (18,539) (19,558)
Proceeds from disposal of business (Note 3) 0 0 3,885
Proceeds from asset sales 2,090 1,423 1,225
Net cash used by investing activities (2,264) (17,116) (14,448)
Financing activities:      
Advances under senior secured revolving credit facility 1,125 18,567 16,225
Repayments of advances under senior secured revolving credit facility (10,913) (14,357) (10,896)
Payment of debt amendment fees (1,275) 0 0
Open market purchase of treasury shares 0 (17,045) (5,190)
Issuances of common stock 349 0 128
Proceeds from issuance of common stock under employee stock purchase plan 299 320 311
Repurchase of common stock for payment of statutory taxes due on equity-based compensation (1,554) (3,524) (1,685)
Repayment of principal portion of long-term liability (355) 0 0
Net cash used by financing activities (12,324) (16,039) (1,107)
Effect of exchange rate changes on cash 1,401 (609) (181)
Net increase (decrease) in cash and cash equivalents (16,158) 10,321 25,658
Cash and cash equivalents, beginning of period 100,036 89,715 64,057
Cash and cash equivalents, end of period 83,878 100,036 89,715
Other cash flow information:      
Cash paid during the period for income taxes 451 6,394 3,309
Cash paid during the period for interest 1,834 2,148 1,705
Non-cash investing and financing activities:      
Purchases of property, plant and equipment on account $ 106 $ 48 $ 2,686