Python: Adding settings to .cdf file.