Add script to generate the files needed for a snippet.