Adding blocks to head elements