move both scripts to top level and sample output to sample_output