finally got saving new snippets to work