[fix] Rename hooks to sort them properly
[fix] Take care of hook priority