Small scripts for data manipulation