set up social share counting and some header tweaks