added functions for imaging SD cards with Raspian