Fix import error for config.py
Improve logs