updated hook for customizations to remove old commented out code