added mtcd functions to orca scripts