add scratch script for extracting data