add add_new_dataset script to handle new images, change distance function to original one