fixed/refactored dist-copy's writables