Fixed bugs in submodules.  Updated example configuration file.