reseting collections must go before destructors take effect (access to names of other collections in debug output)
added -r flag and zip with passwd