add template executor generator