updated to newest plugin-template structure