Revert "shared config hooks"

This reverts commit e5ea12c6127e2ad96289e1904077c1fc414eca57.
config hook