Substantial improvements to CDF reading and command scripts.