add excludeDelete option