add hook for New Relic