fixed script for generating source tarballs