Hi guys, Steve you are right, and Thomas- just to clarify, it's not the dark that gets processed/corrected, it's the lights. So, as Steve says, create the CC icon and be sure it's saved, then opened on the desktop before invoking the BPP script. CosmeticCorrection is also great for defining specific row/column defects in the lower section. Interesting too Thomas, you use it as I do, with both Auto Detect and Master Dark methods selected. I doubt it was designed to be used this way, but I get better hot pixel kills using both methods at once.
During calibration, the lights are dark subtracted as they should be, which takes care of removing the thermal frame and some of the more linear hot pixels. Problem then, is that many 'hotties' tend to be quite nonlinear, and that's when CC steps in. After calibration, (Debayering if applicable) and before alignment, BPP looks at the CC info, and fills in the hot pixels and defined defects with an average of surrounding pixels, thereby 'filling in' the defects. Here the dark is used for reference rather than actually being subtracted again.
Bottom line, you are doing it right!