added hooks to some modules