How to only save some of the variables while sampling?

Perfect. Thanks!

Opher