Borad corrections and added external sdcard support