DonPedro for Scan

* make DonPedro compatible with Scan API
* clean