added script to prepare data