Adding snippets with tabfolder