Update packaging and archive scripts