Fixes to password-management scripts
Slave node count available just in case; replicate when copying if the cluster is big enough