use opt.force to force writing to output dir