DEBT | DEBT The Company's long-term debt consists of the following: September 30, 2017 December 31, 2016 Principal Unamortized Discount and Debt Issuance Costs Principal Unamortized Discount and Debt Issuance Costs (amounts in thousands) Term Loan, interest 3.49% and 2.62% at September 30, 2017 and December 31, 2016, respectively $ 100,000 $ (923 ) $ 39,500 $ (363 ) Convertible Notes, fixed rate interest of 8.00% — — 25,000 (4,669 ) Convertible Notes derivative liability — — 27,532 — Capital lease obligations 12 — 23 — Total debt 100,012 (923 ) 92,055 (5,032 ) Less current portion (3,758 ) — (2,263 ) — Long-term debt $ 96,254 $ (923 ) $ 89,792 $ (5,032 ) As of September 30, 2017 , the aggregate scheduled maturities of the term loan are as follows: Term Loan (amounts in thousands) Through Years Ending December 31: 2017 $ — 2018 6,875 2019 7,500 2020 8,125 2021 10,000 Thereafter 67,500 Total $ 100,000 Amendment and Restatement of Senior Credit Facility On August 1, 2017, the Company entered into an Amendment and Restatement of its Credit Agreement dated June 22, 2016 (Amended and Restated Credit Agreement), to refinance and increase the current aggregate committed size of the facility to $215.0 million , including a term loan of $100.0 million (Amended Term Loan) and a $115.0 million revolving credit facility (Amended Revolving Credit Facility) (together with the Amended Term Loan, the Amended Credit Facilities). The Amended Revolving Credit Facility includes a subfacility for swingline loans up to an amount not to exceed $15.0 million , and a $35.0 million sublimit for the issuance of standby letters of credit. The proceeds of $106.5 million from this refinancing included $6.5 million under the new revolving credit facility and were used to repay borrowings under the Company’s 2016 Senior Credit Facilities (as defined below), as well as to pay related interest, fees, and expenses of the transaction. In addition to increasing the size of the facilities, the maturity date was extended to July 31, 2022. The Amended and Restated Credit Agreement also includes an accordion feature permitting the Company, subject to certain conditions, to increase the aggregate amount of the commitments under the Amended Revolving Credit Facility or establish one or more additional term loans in an aggregate amount not to exceed $50.0 million with optional additional commitments from existing lenders or new commitments from additional lenders. Other terms and pricing are substantially similar to the 2016 Credit Agreement (as defined below). Borrowings under the Amended Term Loan are payable in quarterly installments, commencing January 2, 2018, in an aggregate per annum amount equal to 5% for the first four installments, 7.5% for the next eight installments, and 10% for the remaining installments; provided that, to the extent not previously paid, the aggregate unpaid principal balance would be due and payable on the maturity date. Subject to the Amended and Restated Credit Agreement, the Company pays interest on (i) each Base Rate Loan at the Base Rate (as defined therein) plus the Applicable Margin in effect from time to time, (ii) each LIBOR Index Rate Loan at the One Month LIBOR Index Rate (as defined therein) plus the Applicable Margin in effect from time to time and (iii) each Eurodollar Loan at the Adjusted LIBOR for the applicable Interest Period (as defined therein) in effect for such Loan plus the Applicable Margin in effect from time to time. The Applicable Margin, as of any date, is a percentage per annum determined by reference to the applicable Consolidated Net Leverage Ratio (as defined by the agreement) in effect on such date as set forth in the table below. Level Consolidated Net Leverage Ratio Eurodollar Loans, LIBOR Index Rate Loans and Letter of Credit Fee Base Rate Loans Commitment Fee I Less than 1.50:1.00 1.75% 0.75% 0.25% II Greater than or equal to 1.50:1.00 2.00% 1.00% 0.30% III Greater than or equal to 2.00:1.00 2.25% 1.25% 0.30% IV Greater than or equal to 2.50:1.00 2.50% 1.50% 0.35% V Greater than or equal to 3.00:1.00 2.75% 1.75% 0.40% As of September 30, 2017 , the Amended Term Loan and Amended Revolving Credit Facility bore interest at a rate equal to One Month LIBOR plus 2.25% . The interest rate is subject to an increase of 2.00% if an event of default exists under the Amended and Restated Credit Agreement. The Company is required to pay a commitment fee on the average daily unused portion of the Amended Revolving Credit Facility, based on the Applicable Margin which is 0.30% as of September 30, 2017 . The Company has the right at any time and from time to time to prepay any borrowing, in whole or in part, without premium or penalty, by giving irrevocable written notice (or telephonic notice promptly confirmed in writing) except that such notice shall be revocable if a prepayment is being made in anticipation of concluding a financing arrangement, and the Company is ultimately unable to secure such financing arrangement. The Company is required to prepay the Amended Credit Facilities under certain circumstances including from net cash proceeds from asset sales or dispositions in excess of certain thresholds, as well as from net cash proceeds from the issuance of certain debt by the Company. The Amended and Restated Credit Agreement contains customary representations, warranties, and affirmative covenants. The Amended and Restated Credit Agreement also contains customary negative covenants, subject to some exceptions, on (i) indebtedness and preferred equity, (ii) liens, (iii) fundamental changes, (iv) investments, (v) restricted payments, and (vi) sale of assets and certain other restrictive agreements. The Amended and Restated Credit Agreement also contains customary events of default, such as payment defaults, cross-defaults to other material indebtedness, bankruptcy and insolvency, the occurrence of a defined change in control and the failure to observe the negative covenants and other covenants related to the operation of the Company’s business. The Amended and Restated Credit Agreement also includes two financial covenants: (i) limiting a maximum Consolidated Total Leverage ratio (as defined therein) to be no greater than 3.50 :1.00 for the fiscal quarters ending September 30, 2017 through June 30, 2018, 3.25 :1.00 for the fiscal quarters ending September 30, 2018 through June 30, 2019, and 3.00 :1.00 for each fiscal quarter ending thereafter and as adjusted pursuant to a Qualified Permitted Acquisition (as defined therein); and (ii) requiring a minimum Consolidated Fixed Charge Coverage ratio (as defined therein) as of the end of each fiscal quarter of 1.50 :1.00. As of September 30, 2017 , the Company was in compliance with the financial covenants and other covenants contained in the Amended and Restated Credit Agreement. The obligations under the Amended and Restated Credit Agreement are guaranteed by all of the Company’s domestic wholly-owned subsidiaries and are secured by a first-priority security interest in the Collateral (as defined therein). As of September 30, 2017 , the Company has $21.6 million letters of credit outstanding and $93.4 million available under the Amended Revolving Credit Facility. The letters of credit relate to the Company’s workers’ compensation and professional liability insurance policies. 2016 Senior Credit Facilities On June 22, 2016, the Company entered into a senior credit agreement ( 2016 Credit Agreement), which provided for an initial term loan of $40.0 million (Term Loan) and a revolving credit facility of up to $100.0 million (Revolving Credit Facility) (together with the Term Loan, the 2016 Senior Credit Facilities) both of which would have matured on June 22, 2021. The Revolving Credit Facility included a subfacility for swingline loans up to an amount not to exceed $15.0 million , and a $35.0 million sublimit for the issuance of standby letters of credit. Proceeds of the Senior Credit Facilities were used primarily to refinance the Company’s First Lien Loan and Second Lien Term Loan (see Prior Credit Facilities) and to pay related transaction fees and expenses, including a prepayment penalty of $0.6 million . The repayment of the Second Lien Term Loan was treated as extinguishment of debt and, as a result, the Company recognized a loss on extinguishment of debt of approximately $1.6 million in the second quarter of 2016, related to the write-off of unamortized net debt discount and issuance costs as well as transaction fees and expenses. On July 5, 2017, the Company entered into a Second Amendment to its 2016 Credit Agreement primarily to allow for the acquisition of Advantage including a reset of the Applicable Margin to Level III, based on the incremental borrowings and consistent with the prior pricing grid (or 2.25% for Eurodollar Loans and LIBOR Index Rate Loans, 1.25% for Base Rate Loans and a 0.30% commitment fee). Also, on July 5, 2017, the Company entered into an Incremental Term Loan Agreement for $40.0 million with SunTrust as Lender and Administrative Agent to pay for part of the consideration of the acquisition of Advantage. The Incremental Term Loan maturity date was June 22, 2021 and was prepayable at any time without penalty. Borrowings under the Incremental Term Loan were payable in quarterly installments, commencing September 30, 2017, with each such installment being in the aggregate principal amount (subject to adjustment as a result of prepayments) for the first eight installments equal to 1.875% and 2.5% of the principal amount of the Incremental Term Loan for the remaining installments; provided that, to the extent not previously paid, the aggregate unpaid principal balance would be due and payable on the maturity date. As of July 5, 2017 the Applicable Margin for Eurodollar Loans and LIBOR Index Rate Loans was 2.25% and the Applicable Margin for Base Rate Loans was 1.25% . Convertible Notes The Company and certain of its domestic subsidiaries entered into a Convertible Note Purchase Agreement (the Note Purchase Agreement), with certain note holders (collectively, the Noteholders) on June 30, 2014. Pursuant to the Note Purchase Agreement, the Company sold to the Noteholders an aggregate of $25.0 million of convertible notes (the Convertible Notes). On March 17, 2017, the Company paid in full the Convertible Notes. In connection with the repayment, the Company issued to the Noteholders an aggregate of 3,175,584 shares of Common Stock, par value $0.0001 , and cash in the aggregate amount of $5.6 million (of which $5.0 million is included in repayment of debt and $0.6 million is presented as extinguishment fees, both within financing activities on the condensed consolidated statements of cash flows). Upon derecognition of the net carrying amounts of the Convertible Notes (the remaining $20.0 million after the $5.0 million cash payment) and derivative liability ( $26.0 million ), the Company recognized a non-cash charge of $5.0 million as loss on early extinguishment and a non-cash addition to additional paid-in capital of $46.0 million for the fair value of the shares, which is not presented on the condensed consolidated statements of cash flows. The loss on early extinguishment of debt includes the write-off of unamortized loan fees and remaining interest due through the Forced Conversion date (defined below) of June 30, 2017. The Convertible Notes were convertible at the option of the holders thereof at any time into shares of the Common Stock at a conversion price of $7.10 per share, or 3,521,126 shares of Common Stock. After three years from the issuance date, the Company had the right to force a conversion of the Convertible Notes if the volume-weighted average price (VWAP) per share of its Common Stock exceeded 125% of the then conversion price for 20 days of a 30 day trading period (Forced Conversion date). The Convertible Notes bore interest at a rate of 8.00% per annum, payable in quarterly cash installments. The Convertible Notes would have matured on June 30, 2020, unless earlier repurchased, redeemed or converted. Subject to certain exceptions, the Company was not permitted to redeem the Convertible Notes until June 30, 2017. Prior Credit Facilities At December 31, 2015, the Company had a senior secured asset-based revolving credit facility (First Lien Loan), with a termination date of June 30, 2017, in the aggregate principal amount of up to $85.0 million , which included a subfacility for swingline loans up to an amount equal to 10% of the aggregate Revolver Commitments, as defined in the agreement, and a $35.0 million subfacility for standby letters of credit. The Company also had a five -year second lien term loan facility (Second Lien Term Loan) in an aggregate principal amount of $30.0 million . The Company had the ability, at its option at any time, to prepay the Second Lien Term Loan in whole or in part at the redemption prices set forth therein, which ranged from 103% of the principal amount thereof for prepayments during the period July 1, 2015 through June 30, 2016, 102% of the principal amount thereof for prepayments during the period July 1, 2016 through June 30, 2017, and 100% of the principal amount thereof for prepayments after June 30, 2017. |