Quarterly report pursuant to Section 13 or 15(d)

13. Long term obligations (Details Narrative)

v3.8.0.1
13. Long term obligations (Details Narrative) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2017
Oct. 01, 2016
Dec. 31, 2016
Debt and capital lease obligations $ 3,846   $ 4,919
Debt maturity date Aug. 18, 2018    
Capital leased equipment cost $ 2,527   2,601
Accumulated amortization of capital leased equipment 1,752   1,771
Line of credit outstanding 0   10,333
Proceeds from line of credit 3,616 $ 0  
Repayments of line of credit 10,333 $ 2,859  
Term Loan [Member] | PNC Bank [Member]      
Debt and capital lease obligations 0   1,020
Term Loan [Member] | MidCap Financial Trust [Member]      
Debt and capital lease obligations $ 3,616   0
Debt issuance date May 10, 2017    
Debt interest rate description one month LIBOR plus 4.50%    
Weighted average interest rate 5.66%    
Line of credit outstanding $ 2,517    
Maximum borrowing capacity 12,000    
Available borrowing capacity under the Credit Agreement 2,416   0
Proceeds from line of credit 45,099    
Repayments of line of credit 41,483    
Term Loan [Member] | AFCO Credit Corp [Member]      
Debt and capital lease obligations $ 639   0
Debt issuance date Jun. 16, 2017    
Debt face amount $ 1,070    
Debt interest rate description 3.567%    
Term Loan [Member] | Susquehanna Bank [Member]      
Debt and capital lease obligations $ 0   3,242
Term Loan [Member] | Energy Efficiency Investments [Member]      
Debt and capital lease obligations $ 103   $ 103
Debt issuance date Nov. 08, 2016    
Debt face amount $ 7,732