XML 23 R9.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2018
Aug. 31, 2017
Aug. 31, 2016
CASH FLOWS FROM OPERATING ACTIVITIES      
Net income $ 43,143 $ 42,014 $ 32,807
Adjustments to reconcile net income to net cash provided by operating activities      
Gain on sale of real estate   (860)  
Gain on sale of license (1,085)    
Gain on sale of businesses (1,480) (2,013) (1,031)
Loss on write-down of certain assets under construction     365
Depreciation 5,817 5,130 5,606
Amortization 11,807 9,127 7,836
Cost of sale of inventory step-up 1,070 190  
Provision (recovery) of allowance for doubtful accounts 101 (359) 169
Stock-based compensation 2,128 2,212 1,333
Realized gain on restricted investments (97) (127) (67)
Decrease in cash surrender value of life insurance     103
Pension curtailment and settlement loss   14 13
Excess tax expense from stock-based compensation     (1,784)
Deferred taxes (2,473) (2,263) (2,590)
Increase (decrease) from changes in assets and liabilities      
Accounts receivable (2,968) (1,003) 3,312
Inventory (8,845) 116 3,124
Prepaid expenses and other assets 569 (878) (475)
Accounts payable 2,847 1,420 (2,821)
Accrued compensation and other expenses (501) (825) 1,490
Accrued income taxes (3,962) 37 1,443
Net cash provided by operating activities 46,071 51,932 48,833
CASH FLOWS FROM INVESTING ACTIVITIES      
Purchases of property, plant and equipment (3,488) (3,199) (2,046)
Cost to acquire intangible assets (18) (71) (64)
Payments for acquisitions, net of cash acquired (73,469) (30,270) (1,161)
Proceeds from sale of real estate   2,122  
Proceeds from sale of license 1,000    
Proceeds from sale of businesses 2,232 3,915 1,729
Changes in restricted investments (23) 897 (149)
Proceeds from settlement of life insurance policies   1,504 1,238
Payments for cash surrender value life insurance     (159)
Net cash used in investing activities (73,766) (25,102) (612)
CASH FLOWS FROM FINANCING ACTIVITIES      
Borrowings on debt 65,000    
Payments of principal on debt (40,000) (43,400) (8,400)
Dividend paid (7,497) (6,532) (5,999)
Proceeds from exercise of common stock options 192 95 124
Payments of taxes on stock options and restricted stock (3,272) (2,959) (2,808)
Excess tax benefit from stock-based compensation     1,784
Net cash provided by (used in) financing activities 14,423 (52,796) (15,299)
INCREASE (DECREASE) IN CASH & CASH EQUIVALENTS (13,272) (25,966) 32,922
Effect of foreign exchange rates on cash 746 (91) (3,330)
CASH AND CASH EQUIVALENTS, BEGINNING OF PERIOD 47,354 73,411 43,819
CASH AND CASH EQUIVALENTS, END OF PERIOD $ 34,828 $ 47,354 $ 73,411