adding support for installing from tar package