Add template include and console logs