snippet scripts