Add hook and add config.xml