added custom template to plugin --KW