Data to Sdcard script