script to localize images, closes #75