Danville to recover debts with help of state