added debug logs and removed saving of result images.