Added ability to add roles and roleHierarchy options to plugin