Fixed hook naming and moved custom_config to contrib