Add detailLog merging and sorting scripts.