Updating the archiving script