script on data management from a wide variety of sources including dalgaard's book and others