VID-1711 Update this script to run with runOnCluster

Should missing index be checked?