Bash script to loop over all connected scanners and scan an image