Python 3 implementation of DART scripts.