Use tracetemplate to launch simulator