New snippets

Snippets for two events that are applicable to all scripts