scripts for each sample