midi dump script