hashed together script to create an sd card image file