Previous version of run only fetch eggs. Run also db upgrade.
Add variable "$directory".
Add $db_config variable (true/false) to monitor db configuration.
Monitor db configuration with db_config.