[TIMOB-15839] Cleaned up some of the sdcard bash script stuff.