clean up pick-an-index for inclusion in a paper