Scripts for properly handling SD card and similar media