script now automatically creates data file