updated dump script