fix optimist dep
add scoring to sort results