Use opt.dest if defined.