adding in //diag// support for ditaa calls