Commiting before messing with xmls