Fix python xml import script