Make statistics and histogram more easily configured in scripts.