add basic archive support