1. Properly import config.py into hooks.py (just "import config"). 2. Change all config variables in hooks.py to "config.variable".