fixed maketemplate script