Rewrote plugin, started writing log/debug