remove console log; default templating/layout usage for swig when not explicitly passed