only add snippet if live true