forgot the script to read and pre-process data