more work towards getting dist.xml working