Updated script use tar.gz archive and work around strange subdirectory naming from github