embed hook