Add preserve_paths and library