DW pw recovery with bash, sed, node.