A $4 million project provided the company with working capital and restructured existing debt.