switched from ejs to swig