Updates to DatabaseMigration.py - Fixing issues around config.