changed output location for savestring to data