#2 - Add some conditionals around the hook.