python scripts dealing with image processing