Updating script to add data file creation lines