switch template engine from swig to ejs to avoid syntax conficts