changed output of script to be data set, not .txt file