I posted a script in the following thread:
http://forum.shrapnelgames.com/showt...light=province
If you are familiar with programming, it should be fairly easy to implement in your language of choice. It is geared for removing a bogus pixel/province, but can easily be converted to add a pixel/province as well.
Hope that helps.