Create and save snippets