XML 18 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jan. 31, 2018
Jan. 31, 2017
Cash flows from operating activities    
Net income $ 31,187 $ 12,227
Adjustments to reconcile net income to net cash provided by operating activities    
Depreciation and amortization 14,695 7,048
Loss on extinguishment of debt 6,091  
Stock-based compensation expense 3,593 3,087
Amortization of debt discounts and financing costs included in interest expense 828  
Debt repricing transaction costs 602  
Deferred income tax benefit (11,780) (821)
Derivative fair value gain (3,873)  
Other (77) 53
Changes in operating assets and liabilities    
Accounts receivable — trade (2,041) (2,585)
Accounts receivable — other 1,554 1,846
Inventories (2,272) 1,002
Other current and noncurrent assets 442 (302)
Accounts payable 2,579 951
Accrued liabilities and other (5,293) (3,083)
Net cash provided by operating activities 36,235 19,423
Cash flows from investing activities    
Additions to property, plant and equipment (9,030) (5,310)
Other investing activities (1,262)  
Proceeds — insurance claim   250
Net cash used in investing activities (10,292) (5,060)
Cash flows from financing activities    
Proceeds from sale of common stock, net of issuance costs 175,669  
Borrowings under credit facility   17,000
Payments under credit facility   (11,800)
Principal payments on borrowings on term loan (196,000)  
Debt repricing transaction costs (602)  
Payment of dividends (822) (709)
Cash payments related to tax withholdings from stock-based awards (3,729) (277)
Net cash provided by (used in) financing activities (25,484) 4,214
Effect of exchange rate changes on cash 799 (418)
Net increase in cash, cash equivalents and restricted cash 1,258 18,159
Cash, cash equivalents and restricted cash at beginning of period 20,708 13,428
Cash, cash equivalents and restricted cash at end of period 21,966 31,587
Supplemental disclosures of cash flow information    
Cash paid for interest 11,856 244
Cash paid for income taxes, net 3,564 4,740
Supplemental disclosure of non-cash investing activities    
Purchase of property, plant and equipment through accounts payable $ 280 $ 206