some updates to accomodate new LoanStats.cvs format