add support for snippets included before