add snippets_write