Updated snippets for Stata