updated KuD script; commented out failing plot (haven't run the whole
thing yet; only chunks by hand)