add hook to premod aswell