Scripts to modify images to get phantoms