Data Preparation Script