Added support for the SD card logging