updated the source to proper dump format