Revert "change scope so snippets work"

This reverts commit 860b09ddfce944633306fa63bdc72219c05009dc.