fixes to scd file