content scripts & templating