Added script to make images have smooth edges