Put archive functionality back in

my bad