sh to run on samples