adding back virtual platform detection