   try
     yield fs.removeAsync release_path
   catch e
-  yield add7z release_path, electron_dir
+  yield compress7zAsync electron_dir, release_path
   release_path
 
 packageStage3Async = async (platform, arch, poi_version, electron_version,

  catch e
    yield fs.copyAsync src, tgt

add7z = async (archive, files, options) ->
  try
    yield fs.removeAsync archive
  catch e

  d = new Date()
  str_date = "#{d.getUTCFullYear()}-#{d.getUTCMonth()+1}-#{d.getUTCDate()}"
  archive_path = path.join release_dir, "poiplugins_#{str_date}.7z"
  yield compress7zAsync gzip_root, archive_path

  log "Successfully built tarballs at #{archive_path}"

