Changes to process data and a small test script