Fix bug for DI configuration. Added console helpers