Add writing script in preparation for creating an Rmd for writing data to the KNB.