Added file deletion, fixed archive formatting, downloading and error checking