A new tool - for re-keying of pwd 4 - communication key

fixing some bugs in tools