Data preparation scripts written