mtd_storage.sh fixes