add xdev support and fix initial exclude paths