mv the prepare dt feature to scripts