Thanks Leoreth, that was a lot of help! I think I got it done with Python event handlers for religion spread and acquired/lost Jewish cities (I still need to test though). But there's no event handler for opening/closing borders. Should I create one? (not that I know how). Or should I handle this in the DLL somewhere?