 path = require 'path'
 Q = require 'q'
 url = require 'url'
-http = require 'http'
+https = require 'https'
 child_process = require 'child_process'
 debug = require 'debug'
 

  # Generate the full URL to the modern.ie archive.
  url: ->
    if @version is 'EDGE'
      return 'https://az792536.vo.msecnd.net/vms/VMBuild_20150801/VirtualBox/' +
        'MSEdge/Mac/Microsoft%20Edge.Win10.For.Mac.VirtualBox.zip'
    'http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/OSX/' +
      @archive()

  # Retrieve and parse the virtual machine info from `VBoxManage showvminfo`.

      Q.delay(delay).then =>
        @waitForNetwork host, retries - 1, delay if retries > 0

module.exports = IEVM
