Moved logic to vCheck.ps1