rendering template with swig added