Update script for createsamples input.