fixed url for sample_gen