show hooks only in development mode