updated how plugin reads plugin version