Bulk Restore WP Smush Pro Images

As discussed on this topic, I would like to have the scripts that you mentioned that allows us to restore original images optimized by WP Smush Pro https://premium.wpmudev.org/forums/topic/restore-originals-wp-smush-pro