part of the recursion now fixed. Still writing the wrong dest link in index for recursed dirs