Update snippets.sh

minor syntax errors