Update wm_image.py