Edit File: hooks.py