added scanning from flatbed