added bash script to generate snippets