fixed the archive uploading, and made things neat