Update hooks.py

Adding comments to add to wiki