only add snippet if live true

duh!