add ctemplate plugin