* adjust hooks script mechanism