Fixes re-install and prosody config.