add contrib.hook
add to contrib.hook helpers for user script