Added hooks.

Shouldn't those be "&&" instead of ";"?