Adapted plugin to new installation system