more work on bug 141 - CoreProtect conversion script.