Added configuration variable to enable module autoconnect. Default to true.