Max,
I'd rather not post a copy of Kai's script. But the two bug fixes I made were simple. Referring to version 007b. These are the changes to CalibrateAlign-007b.js,
1. Change line 199 from,
var delta1 = 1000;
to
var delta1 = 2000;
2. Change line 468 from,
masterFlatPath = engine.getMasterFlatFrame(binnning, info.filter);
to
masterFlatPath = engine.getMasterFlatFrame(binnning, trim(info.filter));
Any other changes that I have made were just to experiment with my own ideas for enhancements. If any of these pan out I'll forward them to Kai for his consideration.
Thanks,
Mike