Edit archive function call to reflect changes