Add script to generate archive