added exporting snippets to index