making this work for both vmware and virtualbox