updated sample_script to use the fake data function