plain-text dump script