Replace upload script with archive script