link the apphook plugin