Changes to allow loading deck id in externally