added pprint option to capability metrics function, other fixes