Add python version of archiving script