Rework plugin for dealing with licenses