re-added preserve_paths and frameworks