only add snippet if live true
Merge pull request #5 from dciccale/master

;) nice hadn't seen it