detect format automatically, added usbreset to help with raspberrypi issues