Correct output dir for version log and load xml