Added archive task to script.