Added code for the hook motion. -Jake