Changed code to use SD card for error reporting
Changed to now use commandLib