2013/01/23 Add embed and index functions