add preserveDirectories