config python file is deprecated
db init fix for production