Multiple improvements, like copying settings and generate train and test data