Improvements to the sample settings examples