SQL requests fixed. Missing config.py added