Refactored plugin LWRP