Added SD card logging code.