adding in some of the important steps present in DTTPS
Proc code needed for DTTPS generation
general update of the code