New script to repair territorial_coverage_granularity.