prepared rti.py for pull request to upstream VT repo