- fixed mock (I think)
- added debug messages to direct plugin