added tpi scripts for Varying domains