working on archive scripts