Update to the latest code and add a script for generating tarballs.