Script for automatic scanning and storing images to USB key on an rpi