adding script to write to SD card