How to create a SG archive