add script to sanitize image