updating to latest getdata script