fixed script to generate training data
delete old data