add debug when plugin loads