implement of python script to compile orgteam template