Add comment to ensure_same method
Fix bug where script crashed when image did not exist