Various scripts for image processing