changed structure of extdep
handling symlinks