Fix some issues in archive script