Updated WriteProcessedCDF