Fixed script that prepares the release tar.gz