New version, downloads gz instead of xz

New version, downloads gz instead of xz
better error logging

Installation of different format of file, .xz requires a new version of
tar

Rev version

Fix error catch