Modify Transaction Group in Scripting

Thanks for all the replies. I have created a script to edit the exported XML file and save a new XML with the additions (or deletions). This works well, but I was hoping to extend it a bit. I have several template transaction groups exported to XML so I can simply call my function to modify them as needed then re-import manually. I also am creating the Database connection in scripting and that works well. Unfortunately, I can’t create an internal Realtime provider in scripting (unless someone knows a secret). At any rate, the whole exercise is really an excuse to get better at Python and because I am lazy and prone to mistakes when doing tedious tasks. So far, I am pleased with the improvements.