Improved readability of hook for local-config