add plugin vaidation so plugin doesn't initialize in mobile