issue #20254: fixed script xt_dir