added error-rates script