python script add for db xml