replaced PUT commands with >> operator in dump()