changed rendering recording to static compilation of the dtl templates