switch from ejs to swig