Adjustments to study editor to generate samples