Update README and fix format bug in scan