fix(scripts): fixing hook init