adds cms snippet