Sorting out data scripts