Added a 3 second delay between each image enhancement to improve memory issues. Successfully processed 4 images without a warning.