Script to copy code snippets