Improve & change tar.gz generation method