scripts for transforming data